Guest Mark Jackson Posted December 17, 2010 Report Posted December 17, 2010 I'm interested in cross compiling code on the Vega platform (more as a linux dev kit rather than for doing Android apps). Is this at all possible ? So far, I've downloaded the ARM cross compiler from http://www.codesourcery.com and installed it on my Ubuntu 10.10 and compiled a simple "Hello world" app using:- > arm-none-linux-gnueabi-g++ hello.c -o hello I copy this onto the Vega sdcard, but when I try to run the app, I get:- > chmod 755 hello > ./hello ./hello: permission denied I can see that the sdcard is mounted noexec, so I then tried it at /data:- > cp /mnt/sdcard/hello /data > cd /data > chmod 755 hello ./hello: not found So I tried an strace:- # strace ./hello execve("./hello", ["./hello"], [/* 11 vars */]) = -1 ENOENT (No such file or directory) write(2, "strace: exec", 12strace: exec) = 12 write(2, ": ", 2: ) = 2 write(2, "No such file or directory", 25No such file or directory) = 25 write(2, "\n", 1 ) = 1 SYS_248(0x1, 0x48, 0x1, 0x4483d60b, 0x28658 <unfinished ... exit status 1> Still nothing ... Has anyone else managed even a simple statically built app ? Cheers Mark
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now