This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to use new GAS


Brian Blietz <bblietz@iastate.edu> writes:

> I have modified my GAS and would now like to
> use it very selectively.
> I don't want it to be the one in /usr/bin.
> 
> I have looked in my Makefiles for my test packages,
> and do not see a place where the location of /usr/bin/as
> is set.
> 
> How do you make gcc use "as" from another directory?
> For example /home/myname/binutils-2.14/bin/as

To install as in different place, use --prefix when you configure the
binutils.  Or just copy the binary where you want it.

To make gcc use a different as, when you configure gcc, use
    --with-as=FULL_PATH_TO_AS

Or always invoke gcc with -B AS_DIRECTORY/ (note the trailing slash).

Ian


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