Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

vanij

macrumors newbie
Original poster
Sep 29, 2012
1
0
Hi,

I have trying to run a simple C program . I have Mac 10.8 . I have downloaded the Xcode 4 from the app store and installed.

But when I try to run my C program as,

gcc hello.c

I get errors like,

stdio.h no such file or directory. I have tried all steps like manually installing command line tools too but its of no help..


I think it is still pointing to the llvm-gcc-4.2 compiler.
Any assistance to resolve this would greatly help me .

Thanks.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.