folks,
installed 10.7 on clean disk recovery usb few days ago. installed xcode app store , executed after installed in /applications complete installation. opened new terminal window , typed "gcc". not listed being in path. assumed gcc not installed xcode. went hpc osx website gcc , gfortran binary compilers lion. put them in /usr/local. in path, , when create simple program includes math.h functions, math.h not found. can me?
thank you,
kris walker
install "command line tools"
update: found need open xcode, go preferences->downloads, , install "command line tools". symbolic link llvm-gcc-4.2 installed @ /usr/bin/gcc. can use 1 compile code without problems mentioned earlier.
kris
Forums Macs macOS Older OS X Versions Mac OS X Lion (10.7)
- iPhone
- Mac OS & System Software
- iPad
- Apple Watch
- Notebooks
- iTunes
- Apple ID
- iCloud
- Desktop Computers
- Apple Music
- Professional Applications
- iPod
- iWork
- Apple TV
- iLife
- Wireless
No comments:
Post a Comment