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
Solved! Go to Solution.
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,
How are you using the arm-linux-gnueabi-gcc compiler?
It should be something like arm-linux-gnueabi-gcc compiler main.c
Best Regards,
Alejandro
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.
Yes thank you, it works perfectly now
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