



Issues on compiling the toolchain
by jjts on Oct 19, 2013 |
jjts
Posts: 1 Joined: Jun 9, 2011 Last seen: Jan 11, 2020 |
||
I use Ubuntu 12.04 LTS w/ gcc version 4.6.3
I use the github repositories for the GNU toolchain After successfully compiling src tools and gcc I get an error for gdb: cd .. rm -rf bld-or1k-src mkdir bld-or1k-src cd bld-or1k-src ../or1k-src/configure --target=or1k-elf --prefix=/opt/or1k-toolchain --enable-shared --disable-itcl \ --disable-tk --disable-tcl --disable-winsup --disable-libgui --disable-rda --disable-sid \ --enable-sim --disable-or1ksim \ --enable-gdb --with-sysroot --enable-newlib --enable-libgloss make No rule to make target `../libgui/src/libgui.a', needed by `gdb'. Stop. BTW, my config.log files all show this error: configure:4232: gcc -V >&5 gcc: error: unrecognized option '-V' gcc: fatal error: no input files compilation terminated. configure:4243: $? = 4 configure:4232: gcc -qversion >&5 gcc: error: unrecognized option '-qversion' gcc: fatal error: no input files compilation terminated. Thanks Jose |
RE: Issues on compiling the toolchain
by rfajardo on Oct 20, 2013 |
rfajardo
Posts: 306 Joined: Jun 12, 2008 Last seen: Jan 6, 2020 |
||
Hello Jose,
I ran into the same problem with another system. A solution was: --disable-gdbtk This should solve the dependency of gdb on libgui. HTH, Raul |



