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

Popular posts from this blog

java - How to set log4j.defaultInitOverride property to false in jboss server 6 -

c - GStreamer 1.0 1.4.5 RTSP Example Server sends 503 Service unavailable -

Using ajax with sonata admin list view pagination -