This is the mail archive of the gcc-bugs@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]
Other format: [Raw text]

Re: preprocessor/7358: Changes to Sun's make Dependencies


Andrew Pickin wrote:-

> Sun's make works differently to Gnu's make.
> This problem has nothing to do with gmake,
> it can only be fully reproduced on Solaris 
> running native make. [see SUNPRO_DEPENDENCIES]
> 
> The version of make which is distributed with Solaris 
> stores the dependencies in a file identified by SUNPRO_DEPENDENCIES
> 
> Some of the functionality can be repeated for example
> 
> $ SUNPRO_DEPENDENCIES=foo gcc-295 main.c
> 
> and
> 
> $ SUNPRO_DEPENDENCIES=bar gcc-310 main.c
> 
> produce files foo and bar which are different.
> 
> The dependencies produced by Sun's make for object fiels 
> are much more difficult to reproduce outside of the makefile.
> 
> This bug appears to have started in 3.0, but remains in 3.1.0

OK, I've reproduced it for 3.2.  It doesn't happen to me for
3.1, but that's a fluke I think.  I'll post a patch in the next
day or so.

Neil.


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