Rockbox Development > Starting Development and Compiling
Compiling C with VMware
GodEater:
Also - the "cc" command is ambiguous across different linux distros. Make *sure* your VMWare image is calling gcc, and not some bizarre alias to it by explicitly calling it - so do :
gcc hello.c -o hello
mschneider:
Alright, thanks for all of your help. I'll give it a try.
bluebrother:
I also suggest reading a good C book while trying -- "The C programming language" by Kernighan & Ritchie isn't the easiest book for beginners but a really good one.
mschneider:
:D In Fact, that's exactly what i've been reading! My dad had a couple lying around so i've been using that to get me started for the past week or so.
mschneider:
Ok, so i've got everything compiling (it turns out all the stray '\'s were a result of how i was saving the file). I get a.out but i cant run it. When it type a.out into the terminal i just get a "command not found". I'm probably not going about running this the right way so could someone help me?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version