avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] Install locations


From: E. Weddington
Subject: Re: [avr-gcc-list] Install locations
Date: Fri, 02 Apr 2004 20:25:18 -0700

On 3 Apr 2004 at 12:33, Russell Shaw wrote:

> Hi,
> When i built cvs binutils with:
> 
>    src/configure --prefix=/usr/local/avr --program-prefix=avr-
>                  --target=avr --disable-nls
> 
> and gcc in a similar way, why do i get:
> 
> ls /usr/local/avr/avr/bin:
> 
>    ar  as  gcc  ld  nm  ranlib  strip
> 
> 
> I get:
> 
> ls /usr/local/avr/bin:
> 
>    avr-addr2line avr-as avr-cpp avr-gcc-3.5.0 avr-gcov avr-nm
>    avr-objdump avr-readelf avr-strings avr-ar avr-c++filt avr-gcc
>    avr-gccbug avr-ld avr-objcopy avr-ranlib avr-size avr-strip
> 
> as expected.

This is just a part of the build process.

When you build binutils you get at /usr/local/avr/avr/bin:
ar  as  gcc  ld  nm  ranlib  strip
Notice however that even though they don't have the "avr-" prefix these are 
targeted to the 
AVR. When you build GCC, it looks to that directory for those program names to 
build the 
things it needs for GCC and it's support library. The directory 
/usr/local/avr/bin is the location of 
the final installation of the binutils apps (and gcc) with the desired "avr-" 
prefix.

HTH


_______________________________________________
avr-gcc-list mailing list
address@hidden
http://www.avr1.org/mailman/listinfo/avr-gcc-list


reply via email to

[Prev in Thread] Current Thread [Next in Thread]