Can not build Modules on mac Mini

BlitzMax Forums/BlitzMax Beginners Area/Can not build Modules on mac Mini

TAS(Posted 2013) [#1]
I brought a Mac Mini to create Mac versions of some of my PC projects. Installed BlitzMax from the Blitz Website and instal Xcode from the Apple Store (1.6 GB!!?). But something is missing when I tried to build the modules?

Building Modules
Compiling:blitz_app.c
sh: gcc: command not found
Build Error: failed to compile /Users/TAS/Desktop/BlitzMax/mod/brl.mod/blitz.mod/blitz_app.c
Process complete


skidracer(Posted 2013) [#2]
Try xCode->Preferences->Downloads->CommandLineTools YES


TAS(Posted 2013) [#3]
Thanks, that did the trick.

Another question: it appears I need to replace "/" with "\" in all the directory paths when going from the Windows to the Lion OS. Is that correct? Is there an easy fix? Are there any other pitfalls I need to watch out for when switching between these OS's?


xlsior(Posted 2013) [#4]
Linux uses / by default
Windows uses \ by default, but can be used interchangeably by /
IIRC OS X also uses /


TAS(Posted 2013) [#5]
So if I do a global search for \ and replace it with / I should be OK in all three OS's?


*(Posted 2013) [#6]
Yes and its recommended :)