This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: egcs on hpux9.05 with gas
- To: Marcus Thiessel <thiessel at itwm dot uni-kl dot de>
- Subject: Re: egcs on hpux9.05 with gas
- From: Manfred dot Hollstein at ks dot sel dot alcatel dot de
- Date: Wed, 10 Dec 97 17:28:02 +0100
- Cc: egcs-bugs at cygnus dot com
- References: <199712101346.OAA00408@cochlea.e-technik.uni-kl.de>
- Reply-To: egcs-bugs at cygnus dot com
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