Linker options

General questions regarding the usage of CodeLite
ColinTaylor
CodeLite Expert
Posts: 152
Joined: Fri Jul 15, 2011 2:49 pm
Genuine User: Yes
IDE Question: C++
Contact:

Linker options

Post by ColinTaylor »

I know this isn't a codelite issue, but I'd appreciate any assistance.

O/S : Windows 8
Codelite installed from "codelite-5.0.6213-mingw4.7.1-wx2.9.4.exe"

I'd like to increase the heap space for one of my projects (a GUI executable based on wxWidgets+wxFBframe)

The linker options are currently
-mwindows;-s;$(shell wx-config --debug=no --libs --unicode=yes)
And the heap option I believe I wish to add is
-Wl,--heap,200000000
or
-Wl,--heap=200000000
But I'm not sure (a) if the heap option makes any sense, and (b) where within the linker options to add the heap option

Any assistance gratefully received :-)
User avatar
eranif
CodeLite Plugin
Posts: 6373
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Linker options

Post by eranif »

"project settings -> linker -> Options"
Add:

Code: Select all

-mwindows;-s;$(shell wx-config --debug=no --libs --unicode=yes);-Wl,--heap,200000000
a semi colon list of options

Eran
Make sure you have read the HOW TO POST thread
ColinTaylor
CodeLite Expert
Posts: 152
Joined: Fri Jul 15, 2011 2:49 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Linker options

Post by ColinTaylor »

Many thanks!
Post Reply