PDA

View Full Version : How to compile C code for Macs?



Vadi
September 2nd, 2007, 07:05 PM
Might be a bit of a silly question, but I need to compile a C program for Macs. Compiling for Linux part is already covered (duh), compiling for Windows is also covered (VirtualBox), but I don't have enough HD space, nor the time an patience to hunt down an OS X .iso to get it running :(.

Is there any other way besides virtualization / getting a hold of a mac (very unlikely...) to go about this?

Thank you for you time.

dwhitney67
September 3rd, 2007, 04:50 AM
Do a Google search on how to create a GCC cross compiler. The Mac uses the PPC (Power PC) architecture and some new models use Intel.