gcc 4.9.1 in OS X Yosemite - gcc: warning: couldn’t understand kern.osversion ‘14.0.0'

前端 未结 10 1876
醉梦人生
醉梦人生 2020-12-13 19:18

I install OS X Yosemite and now i have a huge problem with gcc 4.9.1 compiler. I hope some one can help me please.

I try to compile my program and i have the warning

10条回答
  •  南方客
    南方客 (楼主)
    2020-12-13 19:34

    If you set MACOSX_DEPLOYMENT_TARGET=10.9 in your environment prior to compiling, the shared object linking should work properly.

提交回复
热议问题