This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [Q] Configure: Choosing as on Solaris, --with-gnu-as, and --with-as
- To: "Wolfgang Bangerth" <wolfgang dot bangerth at iwr dot uni-heidelberg dot de>, <gcc at gcc dot gnu dot org>
- Subject: Re: [Q] Configure: Choosing as on Solaris, --with-gnu-as, and --with-as
- From: "Tim Prince" <tprince at computer dot org>
- Date: Mon, 26 Feb 2001 06:13:47 -0800
- References: <Pine.SOL.4.10.10102261102270.5468-100000@eros>
----- Original Message -----
From: "Wolfgang Bangerth" <wolfgang.bangerth@iwr.uni-heidelberg.de>
To: <gcc@gcc.gnu.org>
Sent: Monday, February 26, 2001 2:02 AM
Subject: [Q] Configure: Choosing as on Solaris, --with-gnu-as,
and --with-as
>
> Hi everyone,
> some years ago I fist tried installing gcc on Sun Solaris 2.7, and
found
> out that giving --with-gnu-as to configure still yields
/usr/ccs/bin/as
> (Sun's assembler) even though that comes later in $PATH. By some way I
> found out that I have to specify --with-as=/usr/local/bin/as. Now, I
> forgot again, so I searched docs and didn't find anything about it any
> more.
>
> Writing up a corresponding patch for the online docs, I found
> a/ That neither --with-as=... nor --with-ld is documented in
install.texi.
> b/ That install.texi states that --with-gnu-as does only make a
difference
> on certain systems, amoung which I do not find Sun Solaris,
although
> I am sure that it actually *does* make a difference.
It would certainly make a difference if you didn't install or link
binutils into the same path for which you are configuring the compiler.
If you are patching the docs, you should include a reference to that,
which AFAIK is meant to be the primary way of finding gas.