x86_64-w64-mingw32-strip kbhook.dll
gives a 88 kb file instead of 509 kb.
Thanks
François
From: Ruben Van Boxem [mailto:[email protected]]
Sent: mercredi, 21. septembre 2011 13:32
To: [email protected]
Subject: Re: [Mingw-w64-public] Compiling a dll for JNI and java 64 bits
2011/9/21 RAPPAZ Francois
<[email protected]<mailto:[email protected]>>
>Btw I assume you could shrink DLL in size by using here strip for it.
How exactly ? is it a compiler option ?
strip is a part of binutils and is a standalone program. You can run it like so:
strip myexecutable.exe
or
strip mylibrary.dll
or
x86_64-w64-mingw32-strip myexecutable.exe
etc.
You can automatically strip debug info if you link with the "-s" option:
gcc -s myobjectfilefullofdebugstuff.o -o mystrippedexecutable.exe
Well, I think you get the idea :)
Ruben
François
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Mingw-w64-public mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public