On May 31, 2011, at 3:03 PM, Elvis D. wrote:
a. gcc-llvm-4.2 supplied with Xcode-4.0.2 package (paid version) appears to
build all the libraries, just like the standard gcc-4.0.1 from the older
TTBOMK, and, really, this is kinda off list-topic by now:
Before XCode 4, Apple has -never- provided fortran as part of their
standard XCode GCC install. Apple’s GCC 4.0.1 and 4.2.1, as found in
XCode for OSX 10.5 and 10.6, do not. I don’t have XCode 4 yet, so I
cannot comment on what is included with it.
GCC is under the GPL, so Apple is required to release their source
changes in some way. Thus, since GCC is capable of building fortran,
Apple’s GCC variant should be as well with the correct tweaks. I’m not
a GCC hacker, but I’m sure there are folks out there who could figure
out what to do.
Apple is moving away from stock GCC, towards LLVM / Clang etc… LLVM
provides interfaces for the major languages including fortran, though of
course Apple can provide whatever interfaces it choose to.
I’m sure there are others, but this’ll have to do for now - MLD