gfortran-for-macOS icon indicating copy to clipboard operation
gfortran-for-macOS copied to clipboard

Issue with calling Xcode utilities in gfortran-Intel-11.2-BigSur

Open weissatjlab opened this issue 1 year ago • 1 comments

Hi FX,

Thank you for all the effort with providing the gfortran installers - it is really a great service to the community.

I have installed the gfortran-11.2-BigSur package on my system and get the following error message when running gfortran -c file.f or gfortran -o file.out file1.f file2.f (or similar commands) from the command line:

sh: line 1: 7257 Bus error: 10 /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -find as 2> /dev/null as: error: unable to find utility "as", not a developer tool or in PATH

[the message comes at the end of the compilation process, after the compiler warnings, so the compiler as such seems to be working]

My system specifications are: MacBook Pro Retina, Late 2013 Processor 2 GHz Quad-Core Intel Core i7 macOS BigSur 11.6.8 (= latest that would run on this device) XCode version: Xcode 13, including command line tools

Any help would be much appreciated.

Ch. Weiss

weissatjlab avatar Aug 13 '22 15:08 weissatjlab

Hi,

I solved the problem. I still had the old version of XCode in my /Applications folder. The new XCode13 XCode.app had been installed in the ~/Downloads folder and needed to be moved to /Applications by hand (I was not aware of this). It works now.

Thanks again for providing these tools.

Ch. Weiss

weissatjlab avatar Aug 13 '22 19:08 weissatjlab