



Newlib toolchain (or1k-elf) in cygwin problem
by tobil on Jan 5, 2014 |
tobil
Posts: 17 Joined: Jun 22, 2008 Last seen: Nov 22, 2018 |
||
Hi,
I try to build the �Newlib toolchain (or1k-elf)� in cygwin. After downloading from git, mkdir bld-or1k-src, mkdir bld-or1k-gcc, exporting PATH, access to /opt/or1k-toolchain, running configure, I get an error at the �end� of make: [snip] Making all in po make[4]: Entering directory '/cygdrive/d/tmp/or1k_git/bld-or1k-src/bfd/po' file=`echo ../../../or1k-src/bfd/po/da | sed 's,.*/,,'`.gmo \ && rm -f $file && PATH=../src:$PATH : -o $file ../../../or1k-src/bfd/po/da.po file=`echo ../../../or1k-src/bfd/po/es | sed 's,.*/,,'`.gmo \ && rm -f $file && PATH=../src:$PATH : -o $file ../../../or1k-src/bfd/po/es.po file=`echo ../../../or1k-src/bfd/po/fi | sed 's,.*/,,'`.gmo \ && rm -f $file && PATH=../src:$PATH : -o $file ../../../or1k-src/bfd/po/fi.po file=`echo ../../../or1k-src/bfd/po/fr | sed 's,.*/,,'`.gmo \ && rm -f $file && PATH=../src:$PATH : -o $file ../../../or1k-src/bfd/po/fr.po file=`echo ../../../or1k-src/bfd/po/id | sed 's,.*/,,'`.gmo \ && rm -f $file && PATH=../src:$PATH : -o $file ../../../or1k-src/bfd/po/id.po file=`echo ../../../or1k-src/bfd/po/ja | sed 's,.*/,,'`.gmo \ && rm -f $file && PATH=../src:$PATH : -o $file ../../../or1k-src/bfd/po/ja.po file=`echo ../../../or1k-src/bfd/po/ro | sed 's,.*/,,'`.gmo \ && rm -f $file && PATH=../src:$PATH : -o $file ../../../or1k-src/bfd/po/ro.po file=`echo ../../../or1k-src/bfd/po/ru | sed 's,.*/,,'`.gmo \ && rm -f $file && PATH=../src:$PATH : -o $file ../../../or1k-src/bfd/po/ru.po file=`echo ../../../or1k-src/bfd/po/rw | sed 's,.*/,,'`.gmo \ && rm -f $file && PATH=../src:$PATH : -o $file ../../../or1k-src/bfd/po/rw.po file=`echo ../../../or1k-src/bfd/po/sv | sed 's,.*/,,'`.gmo \ && rm -f $file && PATH=../src:$PATH : -o $file ../../../or1k-src/bfd/po/sv.po file=`echo ../../../or1k-src/bfd/po/tr | sed 's,.*/,,'`.gmo \ && rm -f $file && PATH=../src:$PATH : -o $file ../../../or1k-src/bfd/po/tr.po file=`echo ../../../or1k-src/bfd/po/uk | sed 's,.*/,,'`.gmo \ && rm -f $file && PATH=../src:$PATH : -o $file ../../../or1k-src/bfd/po/uk.po file=`echo ../../../or1k-src/bfd/po/vi | sed 's,.*/,,'`.gmo \ && rm -f $file && PATH=../src:$PATH : -o $file ../../../or1k-src/bfd/po/vi.po file=`echo ../../../or1k-src/bfd/po/zh_CN | sed 's,.*/,,'`.gmo \ && rm -f $file && PATH=../src:$PATH : -o $file ../../../or1k-src/bfd/po/zh_CN.po make[4]: Leaving directory '/cygdrive/d/tmp/or1k_git/bld-or1k-src/bfd/po' make[4]: Entering directory '/cygdrive/d/tmp/or1k_git/bld-or1k-src/bfd' /bin/sh ./libtool --tag=CC --mode=link gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -g -O2 -release `cat libtool-soversion` -no-undefined -static-libstdc++ -static-libgcc -Wl,--stack,12582912 -o libbfd.la -rpath /opt/or1k-toolchain/i686-pc-cygwin/or1k-elf/lib archive.lo archures.lo bfd.lo bfdio.lo bfdwin.lo cache.lo coffgen.lo corefile.lo format.lo init.lo libbfd.lo opncls.lo reloc.lo section.lo syms.lo targets.lo hash.lo linker.lo srec.lo binary.lo tekhex.lo ihex.lo stabs.lo stab-syms.lo merge.lo dwarf2.lo simple.lo compress.lo verilog.lo `cat ofiles` -L/cygdrive/d/tmp/or1k_git/bld-or1k-src/bfd/../libiberty -liberty -L/cygdrive/d/tmp/or1k_git/bld-or1k-src/bfd/../intl -lintl -lcygwin -lkernel32 Makefile:1235: recipe for target 'libbfd.la' failed make[4]: *** [libbfd.la] Error 1 make[4]: Leaving directory '/cygdrive/d/tmp/or1k_git/bld-or1k-src/bfd' Makefile:1645: recipe for target 'all-recursive' failed make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory '/cygdrive/d/tmp/or1k_git/bld-or1k-src/bfd' Makefile:1132: recipe for target 'all' failed make[2]: *** [all] Error 2 make[2]: Leaving directory '/cygdrive/d/tmp/or1k_git/bld-or1k-src/bfd' Makefile:2603: recipe for target 'all-bfd' failed make[1]: *** [all-bfd] Error 2 make[1]: Leaving directory '/cygdrive/d/tmp/or1k_git/bld-or1k-src' Makefile:833: recipe for target 'all' failed make: *** [all] Error 2 Is there anybody who can help me ? Sorry if this has already been discussed, but it is hard to search in the forum's database. Thanks for your help in advance, Cheers, Tobias |
RE: Newlib toolchain (or1k-elf) in cygwin problem
by stekern on Jan 7, 2014 |
stekern
Posts: 84 Joined: Apr 28, 2009 Last seen: Nov 10, 2016 |
||
I don't think anyone have successfully built the or1k-elf toolchain under cygwin,
you might even be the first one trying, so I'm afraid you are a bit on your own there :( It might be easier to just setup a virtual machine with Linux if all you want is to get a working toolchain on a windows machine, but if you really want to get the cygwin build going, please keep us posted with any progress you are making. I can try to help out, but I don't have a setup to test on, so we'd really need a bit of digging from your side as well then. |



