|
|
Running GCC on Tiger
|
|
|
|
Mac Elite
Join Date: Nov 2005
Location: Seattle, WA, USA
Status:
Offline
|
|
Hey all, I'm a computer engineering student at the University of Arizona, and am relatively familiar with C coding. However, I've never attempted to code outside a Solaris 9 terminal. Just for fun, I went ahead and installed GCC 3.3 on my new iBook and tried to compile a few programs. However, every time I run GCC, I get this message:
stdio.h: No such file or directory
I'm sure that I'm missing something really obvious, but I'm genuinely at a loss as to what to do. I tried asking a professor, but he genuinely had no clue that OS X was UNIX-based. I feel dumb asking, but I'd really appreciate some help.
|
Any ramblings are entirely my own, and do not represent those of my employers, coworkers, friends, or species
|
|
|
|
|
|
|
|
Clinically Insane
Join Date: Nov 1999
Status:
Offline
|
|
How did you install GCC? Did you download and install a Darwin version, or did you use the Developer Tools CD?
|
You are in Soviet Russia. It is dark. Grue is likely to be eaten by YOU!
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Nov 2005
Location: Seattle, WA, USA
Status:
Offline
|
|
I just ran the package /Applications/Installers/Xcode Tools/Packages/gcc3.3.pkg
|
Any ramblings are entirely my own, and do not represent those of my employers, coworkers, friends, or species
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Nov 2005
Location: Seattle, WA, USA
Status:
Offline
|
|
Hmm, never mind. I went ahead and installed a few SDK packages and got it working. This is why reading a "Read Me" file is a good idea... sorry bout all that.
|
Any ramblings are entirely my own, and do not represent those of my employers, coworkers, friends, or species
|
|
|
|
|
|
|
|
Professional Poster
Join Date: Apr 2001
Location: Asheville, NC
Status:
Offline
|
|
Originally Posted by TheoCryst
Hmm, never mind. I went ahead and installed a few SDK packages and got it working. This is why reading a "Read Me" file is a good idea... sorry bout all that.
Yup. gcc is pretty useless without the BSD SDK.
|
ACSA 10.4/10.3, ACTC 10.3, ACHDS 10.3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Forum Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|