Building i386-rtems4.11 toolchain fails with gcc-core/libgcc
Petri Rokka
petri.rokka at tut.fi
Sun Apr 10 20:59:16 UTC 2011
Can someone help me with my compiling error..
I try to compile toolchain for i386-rtems4.11 but, gcc-core fails
with libgcc.
Here is the config options:
../gcc-4.6.0-RC-20110321/configure --target=i386-rtems4.11
--prefix=/opt/i386-rtems4.11/ --disable-multilib --enable-languages=c
--with-newlib --with-binutils --disable-nls
--enable-threads=rtems --with-gnu-as --with-gnu-ld
Im having same errors with gcc-4.6.0-RC and -4.52 with newlib-1.18 and
-1.19 and different binutils versions too.
Any ideas what could be wrong?
Im using ubuntu 10.04.
in i386-rtems4.11/libgcc/config.log is errors like:
xgcc: error: unrecognized option '-V'
xgcc: fatal error: no input files
compilation terminated.
xgcc: error: unrecognized option '-qversion'
xgcc: fatal error: no input files
compilation terminated.
'..rtems4.11/i386-rtems4.11/sys-include -o conftest -g -O2
conftest.c >&5'
exec: 89: -o: not found
gcc error output:
Checking multilib configuration for libgcc...
Configuring in i386-rtems4.11/libgcc
configure: loading cache ./config.cache
checking for --enable-version-specific-runtime-libs... no
checking for a BSD-compatible install... /usr/bin/install -c
checking for gawk... gawk
checking build system type... x86_64-unknown-linux-gnu
checking host system type... i386-pc-rtems4.11
checking for i386-rtems4.11-ar...
/home/rokka/i386_rtems/install/b-gcc-core/./binutils/ar
checking for i386-rtems4.11-lipo... i386-rtems4.11-lipo
checking for i386-rtems4.11-nm...
/home/rokka/i386_rtems/install/b-gcc-core/./gcc/nm
checking for i386-rtems4.11-ranlib...
/home/rokka/i386_rtems/install/b-gcc-core/./binutils/ranlib
checking for i386-rtems4.11-strip...
/home/rokka/i386_rtems/install/b-gcc-core/./binutils/strip-new
checking whether ln -s works... yes
checking for i386-rtems4.11-gcc...
/home/rokka/i386_rtems/install/b-gcc-core/./gcc/xgcc
-B/home/rokka/i386_rtems/install/b-gcc-core/./gcc/ -nostdinc
-B/home/rokka/i386_rtems/install/b-gcc-core/i386-rtems4.11/newlib/
-isystem
/home/rokka/i386_rtems/install/b-gcc-core/i386-rtems4.11/newlib/targ-include
-isystem
/home/rokka/i386_rtems/install/gcc-4.6.0-RC-20110321/newlib/libc/include
-B/opt/i386-rtems4.11/i386-rtems4.11/bin/
-B/opt/i386-rtems4.11/i386-rtems4.11/lib/ -isystem
/opt/i386-rtems4.11/i386-rtems4.11/include -isystem
/opt/i386-rtems4.11/i386-rtems4.11/sys-include
checking for suffix of object files... configure: error: in
`/home/rokka/i386_rtems/install/b-gcc-core/i386-rtems4.11/libgcc':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
make[1]: *** [configure-target-libgcc] Error 1
make[1]: Leaving directory `/home/rokka/i386_rtems/install/b-gcc-core'
make: *** [all] Error 2
Kind Regards,
Petri
More information about the users
mailing list