- Joined
- Jan 21, 2009
- Messages
- 9
- Reaction score
- 0
- Points
- 1
- Location
- Midland, Michigan
- Your Mac's Specs
- MB Pro, 17", 2.5 GHz Intel
Hi. I am looking for the simplest instructions to compile an executable either using Xcode or from the terminal. I downloaded a sample C program and I want to compile and test it. I don't know where to put the header file that it needs (what directory to put it in) or how to tell gcc where to look (from the Terminal). If I could figure out how to compile in Xcode, that would be cool, because I assume I could get away from typing long path names and stuff.
I imagine this question has been answered in another thread, but I couldn't find it. I will be happy if you can direct me to such a thread, or post the answer here.
Thanks.
I imagine this question has been answered in another thread, but I couldn't find it. I will be happy if you can direct me to such a thread, or post the answer here.
Thanks.