> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > On Behalf Of ?? > Sent: Tuesday, August 14, 2007 8:30 AM > To: [email protected] > 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 mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/avr-chat
