A
AlexN
Guest
So I opened the terminal, and started writing a hello world program as usual.
When I compiled the file using "gcc -Wall -o hello hello.c",
it gave me "-bash: gcc: command not found".
No GCC installed? Or maybe the path is wrong? (Note: it's a fresh OS, I just got the iBook yesterday.)
PS: cc doesn't work either.
When I compiled the file using "gcc -Wall -o hello hello.c",
it gave me "-bash: gcc: command not found".
No GCC installed? Or maybe the path is wrong? (Note: it's a fresh OS, I just got the iBook yesterday.)
PS: cc doesn't work either.