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
On Feb 26, 2001, Phil Edwards <pedwards@disaster.jaj.com> wrote:
> Under any other conditions under Solaris, gcc will try to use /usr/ccs/bin/as
Yep. GCC looks for auxiliary programs (cc1, as, ld, etc) in the
`programs:' directories printed by gcc -print-search-dirs. If it
can't find the program it wants in any of these directories, it will
search the PATH. If this also fails, it bails out.
--with-as and --with-ld take precedence over these search paths.
However, neither --with-gnu-as nor --with-gnu-ld cause GCC to reject
an assembler or a linker it finds; these flags just tell GCC to
*assume* the programs it's going to find are the GNU versions of these
programs.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me