preprocessor/7358: Changes to Sun's make Dependencies

Neil Booth neil@daikokuya.co.uk
Mon Jul 22 11:23:00 GMT 2002


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.



More information about the Gcc-bugs mailing list