This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: question about Makefiles



>   In message <87ogqdpf1z.fsf@cygnus.com>you write:
>   > I didn't see this explictly mentioned anywhere, so I thought I'd ask
>   > to make sure: does egcs require that its Makefiles work with any
>   > `make', and not just GNU make?
> gnu-make is recommended, particularly when building srcdir != objdir.
> We'd like to be able to support vendor makes when building in
> srcdir.

The only extra make feature required for srcdir != objdir is VPATH, which
is a Posix make feature.  srcdir != objdir works fine on Solaris with
Sun's make (modulo the texinfo problems).

Some makes don't support VPATH correctly, but as this deviates from Posix
it is a bug.  We shouldn't try to support buggy makes, but we should
support Posix makes.





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]