PDA

View Full Version : MINGW: Add special linker options



Peppy
13th May 2010, 21:00
How to add some special linker options like -s0 -s1 and so on... ?

tbscope
13th May 2010, 21:32
In qmake?
QMAKE_CFLAGS_...
and
QMAKE_CXXFLAGS_...

I think

Peppy
14th May 2010, 15:22
Through settings or edit makefile?

squidge
14th May 2010, 16:12
Through editing your .pro file

Peppy
14th May 2010, 19:31
I try to strip file size through compilation optimalization...In MINGW it is: -s0 ... -s6, I don't know how is it in G++...

squidge
14th May 2010, 20:15
'-Os' optimises for size