compilation - Compiling C code on a Mac os x lion -


i beginner, trying code c on mac. using learn c hard way zed when tried running c code on mac not run. have installed xcode mac appstore when try run code using command "make" or "gcc" terminal responds command not found. doing wrong?

i have tried searching solution of ones have found install xcode , not give further instructions.

i hoping find out how test/run code. in advance!

install command line tools via xcode. go preferences , downloads.

xcode 4.3 command line tools

if still have troubles after updating xcode or installing command line tools try install after:

https://github.com/kennethreitz/osx-gcc-installer

good luck!


Comments

Popular posts from this blog

javascript - backbone.js Collection.add() doesn't `construct` (`initialize`) an object -

php - Get uncommon values from two or more arrays -

Adding duplicate array rows in Php -