Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am doing cross compiling. I install the gcc-4.6-arm-linux-gnueabihf and want to use it to compile the .c file(example of hello world) and then run it on ARM. I don't know what is the exact command. Commands like "gcc -c filenam.c" seem not correct.

Thanks for answering.

share|improve this question
Try the answer to this question: cross compiling error for helloworld program by steeldriver and please comment if it doesn't work. Also be sure to check the links provided in the question. src/main.c is the source file for the hello program in the link that is provided in the question. –  karel Mar 31 at 10:51

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.