View Full Version : compilers for Mac OS X

10-20-2004, 09:29 AM
am I correct in thinking that I have to use some version of codewarrior to compile plugins for LW? There seems to be a large choice of compilers for the PC side of the world but only an expensive choice for us Mac (non-student) users, unless someone knows better.

10-20-2004, 11:32 AM
I don't know of any specifics, but I think if you look into gcc, you should find it available for most any platform. Don't be nervous that it's free, it's used daily by many high end programming shops.

10-20-2004, 02:37 PM
Apple provides Xcode tools - http://developer.apple.com/tools/macosxtools.html free of charge. To download you may need a developer account but you can get an entry level one for free.

10-20-2004, 02:48 PM
I got the impression from another thread sometime ago that it wasnt possible to use the xcode tools to build LW plugins, not that I know anything about this yet! Has this changed recently then? Isnt xcode built on the GCC tools?

10-21-2004, 10:27 AM
Think that's correct, XCode, which uses GCC, is not suitable for LW plugins, because LW is no Mach-O application (the native BSD and therefor OS X executable format AFAIK) but CFM ("Code Fragment Manager") binaries that were also used by OS 9.

Although i don't know about the exact mixtures of APIs and binary formats available in OS X it seems that LW is not able to link to Mach-O shared libraries (plugins), so XCode is no option.

Think someone said that you can use MPW, but i don't know if that works for OS X or only OS 9...i'm just a PC coder and leave the Mac OS compiles to other people :D