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

avilolo0

macrumors newbie
Original poster
Nov 10, 2015
14
0
hi.
my os version is 10.11.2 el capitan
and x code is 7.3.1
I'm needed a gcc compiler for my Xcode for some c programming, so i followed this tutorial(ill paste the link)
and its look like the process success,but i can't choose the gcc compiler inside the Xcode build settings,the only one i have is the apple llvm 7.1.
maybe the gcc is inside this compiler and i didn't understand it but how can i know this?
this is the tutorial
and this is a screenshot that explain my problem https://postimg.org/image/y5o4yxtun/ .
thank you.
 
Why can't you just use the command line tools? You shouldn't specifically need a certain compiler.
 
i new to all the programming scene
do you mean when you open project to make this selection?
and there is no specific compiler that we need to work with,but they check it with gcc
some of my friends have mac and programming on windows,there is difference that could happen?
for example that i build program in Xcode and when they check it its could be different or some warnings that apple compiler does not show ?
maybe there is a way to "stiff" the apple compiler?
thats the only reason i need the gcc
Screen Shot 2016-08-18 at 20.52.57.png
 
If you are writing straight C code it doesn't matter what compiler you are using
 
The reason you can't choose gcc in XCode is because gcc isn't actually installed anymore with current versions of XCode, even though it "apparently" gets installed with the command line tools. The installed gcc is basically now just a wrapper for clang/llvm. You could technically install a pure version of gcc from an external source like MacPorts/Homebrew or from source, but there is no way to install the original gcc direct from Apple any longer. Apple has moved on from gcc.
 
hi.
my os version is 10.11.2 el capitan
and x code is 7.3.1
I'm needed a gcc compiler for my Xcode for some c programming, so i followed this tutorial(ill paste the link)
and its look like the process success,but i can't choose the gcc compiler inside the Xcode build settings,the only one i have is the apple llvm 7.1.
maybe the gcc is inside this compiler and i didn't understand it but how can i know this?
this is the tutorial
and this is a screenshot that explain my problem https://postimg.org/image/y5o4yxtun/ .
thank you.

You don't need a specific compiler, your university is being pedantic about requiring open source compilers.
 
so from the most of the replies here I'm understanding,there is no problem to coding in the Xcode
thank you!!!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.