This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: PATCH Finding gas


Nathan Sidwell <nathan@acm.org> writes:

> I configure with --with-gnu-as --with-gnu-ld. (+ the prefix and
> exec-prefix appropriate)

> This doesn't work, the system assembler and linker are used.

egcs will look for programs called `as' and `real-ld' or `ld' in the
directories in the `programs' search path (gcc -print-search-dirs),
not in the PATH.

> Anybody got any clues about this? Should I hack configure to check for
> $LD and $AS, use them and force their full paths into the binary?

No!  IMO, `make install' should install links to `as' and `real-ld' if
appropriate.  What do you think?

-- 
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]