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: Problems building egcs-1.0.1 on HP/UX 10.20



  In message <199803240115.RAA09640@rtl.cygnus.com>you write:
  > 	Building runtime libraries
  > 	...
  > 	cc  -DIN_GCC    -g   -DHAVE_CONFIG_H -DHAIFA  -o collect2 collect2.o tl
  > ink.o hash.o \
  > 	  cplus-dem.o underscore.o version.o choose-temp.o obstack.o alloca.o  
  > 	/usr/ccs/bin/ld: Unsatisfied symbols:
  > 	   __main (code)
  > 	*** Error exit code 1
  > 
  > For some reason, make rebuilt files in the gcc directory that were already
  > (or should have been) up to date.  It used the wrong compiler when it did
  > this (cc instead of stage2/xgcc) which caused the link to fail.  The proble m
  > here is that it should not have tried to rebuild the files.
  > 
  > Did you use GNU make?  If not, try that.  Many different non-GNU makes
  > have problems building gcc/egcs correctly.
This is typical on an HPUX system.  The hpux make consistently
tries to rebuild files which are up-to-date.  This results in
various problems of this nature.

GNU make doesn't have this problem.

jeff


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