开发者

Increase stack size in mac os x Eclipse

For a C++ command line application, I need to increase the stack size, which I do with

-Wl,-stack_size,0x10000000,-stack_addr,0xc0000000
开发者_JAVA百科

when I use gnu g++. Now I am learning Eclipse CDT, but do not realize how can I pass this linking option for the automatically generated makefile, any hints?


Go to your project properties->C/C++ Build->Settings and on the right table select GCC C++ Compiler and you'll see the All Options: where you can insert your options.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜