Article View: gnu.g++
Article #492Re: Question about using gas with g++/gcc
From: David C Lawrence
Date: Fri, 12 Jan 1990 04:35
Date: Fri, 12 Jan 1990 04:35
20 lines
1225 bytes
1225 bytes
In <1990Jan12.014253.29048@lavaca.uh.edu> jet@karazm.math.uh.edu
(J. Eric Townsend) writes:
> In the g++ docs, it says:
> "If GAS and GNU LD work for your machine, *use them*."
> But how do I get gas to be my default assembler for building gcc and
> g++? I didn't see any obvious ways, or even any pain-in-the-butt ways.
GCC looks in $(libdir)/gcc-* for the preprocessor, assembler, c compiler
and loader. If it doesn't find what it wants there it will invoke
what it needs without the prefix. $(libdir) is defined in the
Makefile. To get it to invoke gas, have gas installed as $(libdir)/gcc-as.
> (Well, I could ln -s /usr/local/lib/gas /bin/as :-)
I adopted the symbolic link solution:
lrwxrwxrwx 1 src 10 Dec 15 00:11 gcc-as -> ../bin/gas
Dave
--
(setq mail '("tale@cs.rpi.edu" "tale@ai.mit.edu" "tale@rpitsmts.bitnet"))
Technical Details
Message-ID:
<$RN&*^@rpi.edu>Path:
arc1-ca.pugleaf.net!utzoo!telly!philmtl!uunet!crdgw1!rpi!taleReferences:
<1990Jan12.014253.29048@lavaca.uh.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!philmtl!uunet!crdgw1!rpi!tale From: tale@cs.rpi.edu (David C Lawrence) Newsgroups: gnu.g++,gnu.gcc Subject: Re: Question about using gas with g++/gcc Message-ID: <$RN&*^@rpi.edu> Date: 12 Jan 90 04:35:21 GMT References: <1990Jan12.014253.29048@lavaca.uh.edu> Organization: Rensselaer Polytechnic Institute, Troy NY Lines: 20