Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Apple Computing Products:
macOS - Operating System
Shocking: No GCC installed?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="AlexN" data-source="post: 151569"><p>So I opened the terminal, and started writing a hello world program as usual. </p><p></p><p>When I compiled the file using "gcc -Wall -o hello hello.c", </p><p>it gave me "-bash: gcc: command not found". </p><p></p><p>No GCC installed? Or maybe the path is wrong? (Note: it's a fresh OS, I just got the iBook yesterday.) </p><p></p><p>PS: cc doesn't work either.</p></blockquote><p></p>
[QUOTE="AlexN, post: 151569"] 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. [/QUOTE]
Verification
Post reply
Forums
Apple Computing Products:
macOS - Operating System
Shocking: No GCC installed?
Top