Issues with compiler flags in gfortran

Ken Cunningham ken.cunningham.webuse at gmail.com
Tue Jan 22 06:21:39 UTC 2019


On 2019-01-21, at 10:08 PM, Ken Cunningham wrote:

> $ xcrun -find as
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/as
> 
> $ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/as -v
> Apple LLVM version 10.0.0 (clang-1000.11.45.5)
> Target: x86_64-apple-darwin18.2.0
> Thread model: posix
> InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
> "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang" -cc1as -triple x86_64-apple-macosx10.14.0 -filetype obj -main-file-name - -target-cpu penryn -fdebug-compilation-dir /Users/cunningh -dwarf-debug-producer Apple LLVM version 10.0.0 (clang-1000.11.45.5) -dwarf-version=4 -mrelocation-model pic -o a.out -

and just for fun, Xcode 10's assembler is still the same old ancient gnu "as" underneath, which you can by passing a flag (-Q) on Mojave to get the old behaviour.

$ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/as -Q -v
Apple Inc version cctools-921.0.1, GNU assembler version 1.38


Ken


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20190121/170ed070/attachment.html>


More information about the macports-dev mailing list