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 Maveric
You can fix this by putting this line in your gluegen.properties file (which should be in your Users/yourname directory):
gcc.compat.compiler=clang
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.