using a diffenrent assembles than as

Jeffrey A Law law@cygnus.com
Fri Jan 23 09:47:00 GMT 1998


  In message < Pine.SGI.3.96.980121184359.19950O-100000@ohm.arago.de >you write:
  > 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.
  > 
  > Is this possible ? When this isn't possible by using the configure script
  > can I change some source files to get the result ?
It's not possible to 'configure' egcs in that manner.  However you can arrange
for that assembler to be used by placing it in a path searched by egcs.

Use "gcc --print-search-dirs" to get a list of the search directories.  Look
at the dirs for "program".  Place your assembler in one of those directories
and call it "as" instead of "gas".

jeff



More information about the Gcc mailing list