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


Jeffrey A Law <law@hurl.cygnus.com> writes:

>   In message <orr9xs25zw.fsf@tiete.dcc.unicamp.br>you write:
>> > 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?

> I would much prefer us encourage folks to install the various tools
> with the same --prefix.  If they do that all this stuff will just
> work.

I dislike this approach because then I cannot upgrade binutils without 
either overwriting its previous installation or installing egcs again
together with the new binutils in a separate prefix.

Perhaps `make install' should check whether `as' and/or `real-ld'
already exist in the `programs' path and, if they do not, create links 
to the versions found in the PATH.  We could even auto-detect GNU as
and GNU ld, instead of requiring users to specify them, and create the 
appropriate links in the build directories too.

-- 
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]