Page 1 of 1

Linker options

Posted: Thu Mar 07, 2013 6:23 pm
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 :-)

Re: Linker options

Posted: Thu Mar 07, 2013 6:30 pm
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

Re: Linker options

Posted: Thu Mar 07, 2013 6:31 pm
by ColinTaylor
Many thanks!