octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: removing graphics.h from stamp-prereq in src/Makefile.in


From: Michael Goffioul
Subject: Re: removing graphics.h from stamp-prereq in src/Makefile.in
Date: Wed, 6 Feb 2008 10:45:43 +0100

On Wed, Feb 6, 2008 at 12:11 AM, John W. Eaton <address@hidden> wrote:
> If you omit dependency information, how do you ensure that all the
> necessary files have been recompiled when a .h file changes (for
> example)?

You don't... :-)
It has always been like that since I compile octave with MSVC and I'm
used to it. This was due the combination of several facts:
1) cc-msvc didn't support dependency generation (now it does)
2) GNU make 3.81 does not support windows path anymore
(path with colon)
3) it's slow (much slower than the equivalent under Linux)

Now, dependencies could be enabled again under MSVC, so you
might consider the attached patch (configure.in.diff).

> What about doing the following instead?  Then we don't need special
> cases for individual files.

This work OK. However, now when I try to enable dependencies again,
I found another problem: make does not know how to build y.tab.c,
which is part of parse.cc/parse.df dependencies. This can be worked
around by adding y.tab.c to PHONY targets, but how do you cope
with that under Linux?

Michael.

Attachment: configure.in.diff
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]