🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.bug
Article #2097

Re: GAS, GLD, GCC and G++

#2097
From: amante%asgard
Date: Fri, 15 Dec 1989 22:13
26 lines
1655 bytes
In <8912150603.AA03018@turing.cs.rpi.edu> David C Lawrence mentions:
>>  "as" just sits out there all alone.  I don't see anything in the
>>  Makefile to change, or in the couple of config files (even the ones
>>  that have "gas.h" in their name) that I checked.  I looked at the
>>  strings in gcc.c and don't see, within the past forty-five minutes of
>>  trying to figure this out, how come /usr/local/gnu/lib/gcc- is getting
>>  prepended to cpp, cc1 and ld, but not to as.  I don't really want it
>>  prepended to as, anyway, because I want it to use /usr/local/gnu/bin/gas.
>>  gnu ld from binutils is also in /usr/local/gnu/bin.


It's probably because you don't have the executable "gcc-as"
in /usr/local/gnu/lib. One way out of this is to have a
copy of your "as" and "ld" in the said directory and
rename them as gcc-as and gcc-ld. Another
possibility is to link (`ln') /usr/local/gnu/bin/gas to
/usr/local/gnu/lib/gcc-as. Do likewise to "ld".
(You can look at gcc.c for the 

	#define STANDARD_EXEC_PREFIX
	
to learn more about how the prefixes for executables are set
for gcc/g++. In fact, you can modify this #define to suit
your own needs.)

Hope this helps ...	Amante
Technical Details
Message-ID: <8912152219.AA27855@hub.ucsb.edu>
Path: arc1-ca.pugleaf.net!utzoo!telly!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!HUB.UCSB.EDU!amante%asgard
References: <8912150603.AA03018@turing.cs.rpi.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!HUB.UCSB.EDU!amante%asgard
From: amante%asgard@HUB.UCSB.EDU
Newsgroups: gnu.g++.bug
Subject: Re: GAS, GLD, GCC and G++
Message-ID: <8912152219.AA27855@hub.ucsb.edu>
Date: 15 Dec 89 22:13:59 GMT
References: <8912150603.AA03018@turing.cs.rpi.edu>
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 26