PDA

View Full Version : C code and Macs




htpw16
Jul 4, 2011, 02:00 AM
Hello all,

I will be purchasing a Mac to replace a Linux box and was wondering if compiling and running C code is as simple as opening up a terminal and compiling and running the output similar to Linux? Is there anything that I need to be aware of in terms of compatibility or restrictions?

Particularly I do research with the OLSR routing protocol (OLSRd daemon) and use it quite frequently:

http://www.olsr.org/?q=download

If anyone is willing to test this out it would be much appreciated.

Thanks!



VPrime
Jul 4, 2011, 02:29 AM
Just as easy.
First you need to install Xcode (xcode 3 included on OSX install disc, Xcode 4 is 4.99 from the mac app store) and that will install the GCC compiler and all the other terminal tools you are probably already accustomed with. that you can launch from the terminal.

htpw16
Jul 4, 2011, 07:26 PM
Noted. Thank you good sir.