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


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

AMP



On Fri, 2002-07-19 at 21:56, neil@gcc.gnu.org wrote:
> Synopsis: Changes to Sun's make Dependencies
> 
> State-Changed-From-To: open->feedback
> State-Changed-By: neil
> State-Changed-When: Fri Jul 19 13:56:04 2002
> State-Changed-Why:
>     I haven't a clue what your bug report is trying to say.
>     
>     1) Is it really a gmake issue?
>     2) If it is a GCC issue, please give some code that
>        clearly reproduces the problem.
>     
>     You should also be aware that 3.0.4 had bugs in dependency
>     generation.  These are fixed in the unreleased 3.0.5 that
>     is in CVS if you need it.  3.0.5, 3.1, 3.2 and 2.95 all
>     behave the same way to the best of my knowledge.
> 
> http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7358
> 
> This e-mail and any attachment is for authorised use by the intended recipient(s) only.  It may contain proprietary material, confidential information and/or be subject to legal privilege.  It should not be copied, disclosed to, retained or used by, any other party.  If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender.  Thank you.
-- 
Shannon's Observation:
	Nothing is so frustrating as a bad situation that is beginning to
	improve.


This e-mail and any attachment is for authorised use by the intended recipient(s) only.  It may contain proprietary material, confidential information and/or be subject to legal privilege.  It should not be copied, disclosed to, retained or used by, any other party.  If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender.  Thank you.


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