osx - How can I compile GCC on a mac so compiled executables will work on earlier versions of OS X? -
osx - How can I compile GCC on a mac so compiled executables will work on earlier versions of OS X? -
i'm attempting build programme (dwarf fortress) uses c++0x features aren't supported in latest leopard version of xcode. there important speed boost using gcc 4.5, we've decided build our own.
however, causes resulting executables not work on tiger, citing missing symbols in libc. presumably, gcc beingness built against leopard sdk, not installed tiger sdk, reasonable annoying. how create build against tiger's?
you need pass -mmacosx-version-min=10.5 ld, tell link against appropriate symbols in libc.
osx gcc c++11 tiger
Comments
Post a Comment