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


On Mon, Mar 23, 1998 at 05:15:46PM -0800, Jim Wilson wrote:
> 	Building runtime libraries
> 	...
> 	cc  -DIN_GCC    -g   -DHAVE_CONFIG_H -DHAIFA  -o collect2 collect2.o tlink.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 problem
> 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.

I have the same problem if I use the HP/UX make. gmake works fine.

-- arvind


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