noob question ^_^

  • astrid+
  • Novice
  • Novice
  • astrid+
  • Posts: 17

Post 3+ Months Ago

Hello all,

As the subject indicates, I am an absolute novice in programming. I'm trying to compile a program I wrote in C, using the "gcc filename.c" command, but it keeps saying: "-bash: gcc: command not found." I also tried typing in "gcc filename.c -o filename," but to no avail. I am working on a Mac, using Terminal. Do any of you know why this is the case?

I'll probably wind up posting a barrage of other noob questions in the future.. just warning you all.
  • astrid+
  • Novice
  • Novice
  • astrid+
  • Posts: 17

Post 3+ Months Ago

I just conducted some research on the net, and it seems that I have to download GCC in order for the command to work. Any insight? From where should I download it?
  • joebert
  • Fart Bubbles
  • Genius
  • User avatar
  • Posts: 13504
  • Loc: Florida

Post 3+ Months Ago

I don't use Mac, but this is where I would start if I did.
http://developer.apple.com/TOOLS/
  • Bogey
  • Genius
  • Genius
  • Bogey
  • Posts: 8416
  • Loc: USA

Post 3+ Months Ago

http://developer.apple.com/tools/xcode/
http://developer.apple.com/tools/gcc_overview.html

Check those links in that order

Post Information

  • Total Posts in this topic: 4 posts
  • Users browsing this forum: No registered users and 119 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.