I am trying to compile jogl from source on my Mac Mini with Mac OSX mavericks, but getting
clang: error: unsupported option '-static-libgcc' on Mac OSX Mavericks
I have XCode 5.0.1 (5A2053) and installed the Command line tools for OSX Mavericks
Any hints on how to fix this issue
相关问题
- Xcode debugger displays incorrect values for varia
- Is there a way to report errors in Apple documenta
- Image loads in simulator but not device?
- Advice for supporting both Mac and Windows Desktop
- importing files from other directories in xcode
相关文章
- 现在使用swift开发ios应用好还是swift?
- Visual Studio Code, MAC OS X, OmniSharp server is
- xcode 4 garbage collection removed?
- IntelliJ IDEA can't open projects or add SDK o
- Automator: How do I use the Choose from List actio
- Xcode: Is there a way to change line spacing (UI L
- Unable to process app at this time due to a genera
- ImportError: No module named twisted.persisted.sty
You can fix this by putting this line in your gluegen.properties file (which should be in your Users/yourname directory):
This tells the JOGL build system that it's using Clang. Otherwise, it thinks it's using gcc, and tries to use gcc-specific options. This fails on Mavericks because gcc is now just a link to Clang.
The command called
gcc
is not really GCC on Mavericks. It's just a copy of Clang:That means it doesn't support GCC-only flags like
-static-libgcc
. Find out what part of your build system is generating that flag and get rid of it.