PS.: A more complex software with USB, TCP, threads did compile and run without any problems same way.
J
Best posts made by Jo Wickenh
-
RE: C Compiler, how to install?
-
RE: C Compiler, how to install?
"Hello World" now running!
Maybe it helps anybody, this is what I did:
After re-installing a new Ubuntu64 16.04 LTS from osboxes (running von a VMware Player on my PC), I extracted the cross-compiler to a directory "~/on" , renanamed the two top tirectories to "lt" and "tc". Then I startet "osboxes@osboxes:~$ gedit .profile" and added the these lines at the end:
export STAGING_DIR=/home/osboxes/on/lt/tc/bin
export ONTOOL=/home/osboxes/on/lt/tc/bin
export PATH=$ONTOOL:$PATHNow I can compile "mipsel-openwrt-linux-gcc hello.c", transfer "a.out" with WinSCP to my Onion2, set attributes to executable (can be done in WinSCP) and start "./a.out" via Console.