Integrating gcc 4.8 with Xcode 4.x

前端 未结 2 763
无人共我
无人共我 2020-12-15 14:49

I am trying to use OpenMP in a objective-c++ program.
Unfortunately llvm-gcc 4.2 seems to have serious bug when working with OpenMP. According to my researches, the bes

2条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-15 15:12

    In Xcode, in your project, select the project (the root of the files, with the blue icon). In the view that opens, select the project again, then select the tab "Build Settings".

    Search here the entry "Compiler for C/C++/Objective-C (there is a search box above the table view). Edit the value and set a custom path (by selecting "Other…") to the gcc you downloaded.

提交回复
热议问题