[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [avr-chat] Can't Install avr-gcc in FreeBSD
From: |
Eric Weddington |
Subject: |
RE: [avr-chat] Can't Install avr-gcc in FreeBSD |
Date: |
Tue, 14 Aug 2007 10:15:43 -0600 |
> -----Original Message-----
> From: address@hidden
> [mailto:address@hidden
> On Behalf Of ??
> Sent: Tuesday, August 14, 2007 8:30 AM
> To: address@hidden
> Subject: [avr-chat] Can't Install avr-gcc in FreeBSD
>
> Hi, everyone:
>
> I meet some troubles during the installation of avr-gcc.
> The OS is FreeBSD 6.2, gcc version: gcc-4.1.2
>
> I did the following steps:
> #cd gcc-4.1.2
> #./configure --target=avr --prefix=/usr/local/avr
> --disable-nls --enable-language=c
> #make
You are configuring (and building) GCC in its source directory which is
totally unsupported (and most of the time does not work). You need to create
a separate build directory outside of the GCC build tree and build in that.
See the avr-libc user manual for proper instructions on how to build the AVR
toolchain. Also for 4.1.2 you will need to configure with:
--disable-libssp
>
> Any hint will be helpful!
But since you're on FreeBSD, it would be easier for you to just use the
FreeBSD ports system:
<http://www.freebsd.org/ports/>
Here are the various AVR packages:
<http://www.freebsd.org/cgi/ports.cgi?query=avr&stype=all>
You'll want:
- avr-binutils
- avr-gcc
- avr-libc
- avrdude
- avr-gdb
- avarice
- simulavr
In that general order.
HTH
Eric Weddington
- [avr-chat] Can't Install avr-gcc in FreeBSD, 龙黎, 2007/08/14
- RE: [avr-chat] Can't Install avr-gcc in FreeBSD,
Eric Weddington <=
- Re: [avr-chat] Can't Install avr-gcc in FreeBSD, David Kelly, 2007/08/14
- RE: [avr-chat] Can't Install avr-gcc in FreeBSD, Eric Weddington, 2007/08/15
- Re: [avr-chat] Can't Install avr-gcc in FreeBSD, David Kelly, 2007/08/15
- List trouble, Not! (was Re: [avr-chat] Can't Install avr-gcc in FreeBSD), David Kelly, 2007/08/15
- RE: [avr-chat] Can't Install avr-gcc in FreeBSD, Eric Weddington, 2007/08/15
- Re: [avr-chat] Can't Install avr-gcc in FreeBSD, Joerg Wunsch, 2007/08/15
- RE: [avr-chat] Can't Install avr-gcc in FreeBSD, Eric Weddington, 2007/08/15
- Re: [avr-chat] Can't Install avr-gcc in FreeBSD, Bob Paddock, 2007/08/16
- Re: [avr-chat] Can't Install avr-gcc in FreeBSD, David Brown, 2007/08/16
- RE: [avr-chat] Can't Install avr-gcc in FreeBSD, Eric Weddington, 2007/08/16