This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC 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]

Can't make toolchain for avr from puppylinux


Hi there,

I'm using puppylinux. I have installed the development tools and
kernel headers. I already have built other programs so make and gcc
and dev tools are quite well. Gcc version of the system is:

# gcc -v
Using built-in specs.
Target: i486-t2-linux-gnu
Configured with: ../configure --prefix=/usr --bindir=/usr/bin
--sbindir=/usr/sbin --libdir=/usr/lib --datadir=/usr/share
--includedir=/usr/include --infodir=/usr/info --mandir=/usr/man
--sysconfdir=/etc --localstatedir=/var --disable-debug
--without-libpam --without-pam --disable-libpam --disable-pam
--host=i486-t2-linux-gnu --enable-__cxa_atexit --disable-checking
--disable-bootstrap --disable-libstdcxx-pch --disable-multilib
--enable-languages=c,c++ --disable-libmudflap
Thread model: posix
gcc version 4.2.2

and kernel:

# uname -a
Linux puppypc 2.6.25.16 #1 Tue Aug 26 10:45:53 GMT-8 2008 i686 GNU/Linux

More tools:

# bison -V
bison (GNU Bison) 2.3

# flex -V
flex 2.5.33


I have followed the build instructions from here:

http://www.nongnu.org/avr-libc/user-manual/install_tools.html

and here:

http://avrwiki.com/wiki/index.php/Building_AVR_GCC

and I can't make the avr target from gcc. For this toolchain I have
downloaded this versions:

avr-libc-1.6.4, binutils-2.19 and gcc-4.4-20090116.

I have followed the instructions from the two links. Obviously in
diferents tries and I'm getting the same error on making avr-gcc:

checking for suffix of object files... configure: error: in
`/root/my-applications/gcc-4.4-20090116/obj-avr/avr/libgcc':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.

And here's the config.log from <source>/obj-avr/avr/libgcc:

http://pastebin.com/f13b3abe8

I don't get what I'm doing wrong. I have set the path as the
instructions says but still i'm getting this error.

Can anyone told me exactly what to do because I already tried all what
i've found.

Thanks in advance, regards
-- 
Sebastián Treu
http://labombiya.com.ar


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