Hello everybody!
I am working on a SabreLite with ubuntu 14.04 and i have a problem with it.
On my computer, when i compile c code with arm-linux-gnueabi-gcc, and i send it to the board, i have an "Input Output error" even if the code is only a main with return 0;
Do you know what i did wrong?
Sorry if my english is bad, it's not my mother tongue.
Regards
Alexandre
已解决! 转到解答。
Hi Alexandre,
If you're using this image of ours:
http://boundarydevices.com/trusty-ubuntu-mx6/
then you'll need to use a hard-float compiler like the gcc-arm-linux-gnueabihf package on
your host machine (i.e. arm-linux-gnueabihf-gcc).
In general, Ubuntu is set up for native compilation though, since the cross-compiler won't
contain all of the development libraries that you might need.
Hi Alexandre,
If you're using this image of ours:
http://boundarydevices.com/trusty-ubuntu-mx6/
then you'll need to use a hard-float compiler like the gcc-arm-linux-gnueabihf package on
your host machine (i.e. arm-linux-gnueabihf-gcc).
In general, Ubuntu is set up for native compilation though, since the cross-compiler won't
contain all of the development libraries that you might need.
Hi Alexandre,
have you tried to run the "file" command to make sure it's really a ARM binary?
Have you checked the MD5 sum of the binary before and after transfer to exclude any file corruption?
BR Stefan