Re: [poedit-users] Compiling with MingW: What am I doing wrong?
Vaclav Slavik <[email protected]>
| Newsgroups | gmane.editors.poedit.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, Olivier wrote: > Setting the values of CC and CXX is not really required, but as it > turns out, doing it means that the final exe does not need > mingwm10.dll to run, which is good (to me). I doubt it's related to setting CC and CXX -- this DLL is used if you enable multithreading, you can get rid of it by configuring wxWidgets with --disable-threads (and thus not using -mthreads flag, I think). > /usr/local/lib/wx/include/msw-2.4' is found. Somehow, the detection > process in configure does not get this right. If you could investigate this and find out what exactly fails, it would be most welcome. > 2. The final exe file size is 12 M. Yes, you read well, it's 3 > times as big as the one in the distribution. I tried to turn off > static linking, but it doesn't change much (2M saved) and adds a > dependency upon the wxWindows DLL. > > What did I do wrong there? Nothing -- you just didn't know the strip utility that strips debugging information from binaries and about the fact that there's always at least some debugging information in binaries produced by gcc and/or GNU binutils. Regards, Vaclav -- PGP key: 0x465264C9, available from http://pgp.mit.edu/
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQBBd+ttxDYa/UZSZMkRAkeGAJ9mY/hmzDDcrk2mwlNGs6oLaQVLqwCgjG3h eI1rdUWY8IFjh4yYQzXAxgg= =+e7W -----END PGP SIGNATURE-----