egcs on hpux9.05 with gas

Manfred.Hollstein@ks.sel.alcatel.de Manfred.Hollstein@ks.sel.alcatel.de
Wed Dec 10 09:35:00 GMT 1997


On Wed, 10 December 1997, 14:46:34, thiessel@itwm.uni-kl.de wrote:

 > Hi there!
 > 
 > I've succefully tried egcs-1.0 on Solaris 2.6 but I've failed on hpux
 > 9.05. gas has already been installed on my box since gcc runs on
 > it. I've updated gas and installed it as
 > /usr/local/hppa1.1-hp-hpux9.05/as.
 > 
 > egcs is configured as
 > 
 > #!/bin/sh
 > #
 > SHELL='/bin/ksh'
 > CONFIG_SEHLL='/bin/ksh'
 > AS='/usr/local/hppa1.1-hp-hpux9.05/bin/as'
 > ../configure --prefix=/usr/local/egcs --with-gas=/usr/local/hppa1.1-hp-hpux9.05/bin/as
 > 
 > Everything works well till the build-script enters the second
 > stage. xgcc falls back to /bin/as and issues a warning.
 > 
 > What do I have to change to get a complete biuld?!
 > 

1. [ex]gcc normally look for `as' in ${prefix}/${target}/bin where ${prefix} is
   what you specified to configure and ${target} is what config.guess finds
   out for your system, e.g. hppa1.1-hp-hpux9.05.
   Hence, you should move /usr/local/hppa1.1-hp-hpux9.05/as to
   /usr/local/egcs/hppa1.1-hp-hpux9.05/as or create a symbolic link there.

2. --with-gas=... is wrong; you have to use --with-gnu-as=[yes|no]

--Manfred



More information about the Gcc-bugs mailing list