I just tried WereCatf's toolchain and (after upgrading my libstdc++.so.6) it works!
Best posts made by Alan Backlund
Latest posts made by Alan Backlund
C tool chain no longer works
I downloaded the recommended tool chain for cross compiling from https://s3-us-west-2.amazonaws.com/onion-cdn/community/openwrt/OpenWrt-Toolchain-ar71xx-generic_gcc-4.8-linaro_uClibc-0.9.33.2.Linux-x86_64.tar.bz2 and built an executable on Linux Mint. I then transferred the file to my Omega2+ . When I run it I get the message:
./hello: line 1: syntax error: unexpected word (expecting ")")
Running file on the executable produces:
hello: ELF 32-bit MSB executable, MIPS, MIPS32 rel2 version 1, dynamically linked, interpreter /lib/ld-uClibc.so.0, not stripped
For reference running file on file produces:
/usr/bin/file: ELF 32-bit LSB executable, MIPS, MIPS32 rel2 version 1, dynamically linked, interpreter /lib/ld-musl-mipsel-sf.so.1, corrupted section header size
It seems that Onion has changed the bit order (MSB to LSB) and interpreter used, so a new tool chain is needed.