using a diffenrent assembles than as

Joe Buck jbuck@synopsys.com
Fri Jan 23 16:33:00 GMT 1998


> I would like to configure egcs that "/usr/local/bin/gas" will be used by
> the compiled egcs as the default assembler.
> 
> I don't would like to use this assembler to compile egcs itself but the
> resulting binary after bootstraping egcs should use "/usr/local/bin/gas"
> as the assembler.

After installing egcs, make a symbolic link as follows:

ln -s /usr/local/bin/gas SPECS/as

where SPECS is replaced by the directory that contains the compiler passes
and the specs file.  (The full path of the specs file is printed when you
say "gcc -v").

(You can use the same trick to choose the linker that will be used).




More information about the Gcc mailing list