[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] About Rod's toolchain
From: |
Rod Moffitt |
Subject: |
Re: [avr-gcc-list] About Rod's toolchain |
Date: |
Wed, 21 Jan 2004 03:18:54 -0500 (EST) |
You need to 1) update your path to include the location of the tool-chain
(don't do this globally or you will have problems compiling for your
host/system architecture), or 2) include the tool-chain path in your
makefile.
A little tidbit like the following is what I include in all my AVR
makefiles:
AVR = /usr/local/avr/
CC = $(AVR)bin/avr-gcc
AS = $(AVR)bin/avr-gcc -x assembler-with-cpp
LD = $(AVR)bin/avr-ld
AR = $(AVR)bin/avr-ar
BIN = $(AVR)bin/avr-objcopy
SIZE = $(AVR)bin/avr-size
STRIP = $(AVR)bin/avr-strip
CFLAGS += -I$(AVR)avr/include
BTW, there is nothing peculiar about 'my' tool-chain. It simply is
installed under /usr/local/avr (by default, my build script can install it
anywhere you want, just run it with 'prefix=/some/path'). This is the case
with most cross-compilers.
Hope this helps!
- Rod
--
___ ____ ___ _ ___
Rod Moffitt / _ \/ __ \/ _ \ (_)__ / _/__
http://rod.info / , _/ /_/ / // / / / _ \/ _/ _ \
address@hidden /_/|_|\____/____(*)_/_//_/_/ \___/
=======================================================
~ Where loved ones are remembered http://memoriam.org ~
On Tue, 20 Jan 2004, Helix wrote:
> Hi,
> I downloaded and build Rod's toolchain http://rod.info
> I added the avr path in my path and tried to build....
>
> $ avr-gcc -g -mmcu=at90s8515 test.c
> avr-gcc: installation problem, cannot exec `cc1': No such file or directory
>
> I wonder why the cc1 is missing.
> Could someone help me please ?
>
> TIA
>
> --Helix
>
>
> _______________________________________________
> avr-gcc-list mailing list
> address@hidden
> http://www.avr1.org/mailman/listinfo/avr-gcc-list
>