Pre-requisites:
- Xcode suite (free)
- SDK bundle for target minimum version (best practice)
- Fortran compiler (not part of Xcode, but installable as part of ShellB3 using 'install_macgfortran' before building a trim)
Relevant Environment Variables:
- MACOSX_DEPLOYMENT_TARGET - target Mac OS version. Default "10.9". used to determine minimal runtime version at compile time, and SDK to link to. This can be any earlier version if you have the appropriate SDK bundle.
- PORTABLESHELLB3 - require any external libraries be part of the target SDK. Default "YES". If "NO", will likely be more specific to the build environment, including using libraries that may be in a different path if they're even installed (SSL, QT4, etc)
- CPUTYPE - target different platform. defaults to undefined, meaning native (x86_64). can be x86_64 or i386 (yes i386 is 32bit. on Linux, use i686)
- SYSROOT - alternate SDK path, if you don't have the intended target. This will still compile to be compatible with the target, but occasional symbol problems have arisen.