Hello,
when I try to install the GNU toolchain for bare metal and build newlib and
gdb, I had an error when I executed that line:

../or1k-src/configure --target=or1k-elf --prefix=/opt/or1k-toolchain
--enable-shared --disable-itcl --disable-tk --disable-tcl
--disable-winsup --disable-gdbtk --disable-libgui --disable-rda
--disable-sid --enable-sim --enable-gdb  --with-sysroot
--enable-newlib --enable-libgloss

what is wrong? Is for the Gcc version?

This is the steps that I followed:
http://wiki.mintsoc.or/doku.php?id=gnu_toolchain_for_bare_metal

This is the error log.

Log:

Thread model: posix
gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1)
configure:4816: $? = 0
configure:4805: g++ -V >&5
g++: error: unrecognized command line option '-V'
g++: fatal error: no input files
compilation terminated.
configure:4816: $? = 4
configure:4805: g++ -qversion >&5
g++: error: unrecognized command line option '-qversion'
g++: fatal error: no input files
compilation terminated.
configure:4816: $? = 4
configure:4820: checking whether we are using the GNU C++ compiler
configure:4839: g++ -c   conftest.cpp >&5
configure:4839: $? = 0
configure:4848: result: yes
configure:4857: checking whether g++ accepts -g
configure:4877: g++ -c -g  conftest.cpp >&5
configure:4877: $? = 0
configure:4918: result: yes
configure:4967: checking whether g++ accepts -static-libstdc++
-static-libgcc
configure:4984: g++ -o conftest -g -O2   -static-libstdc++ -static-libgcc
conftest.cpp  >&5
configure:4984: $? = 0
configure:4985: result: yes
configure:5049: checking for gnatbind
configure:5079: result: no
configure:5141: checking for gnatmake
configure:5171: result: no
configure:5190: checking whether compiler driver understands Ada
configure:5213: result: no
configure:5222: checking how to compare bootstrapped objects
configure:5247: result: cmp --ignore-initial=16 $$f1 $$f2
configure:5301: checking for objdir
configure:5316: result: .libs
configure:5912: checking for version 0.10 of ISL
configure:5931: gcc -o conftest -g -O2      conftest.c  -lisl >&5
conftest.c:10:25: fatal error: isl/version.h: No such file or directory
 #include <isl/version.h>



Thanks.
_______________________________________________
OpenRISC mailing list
[email protected]
http://lists.openrisc.net/listinfo/openrisc

Reply via email to