The first build I did with
Code: Select all
../configure ... --enable-debug ...
Code: Select all
../configure ... --disable-debug ...
Code: Select all
libwx_baseu-2.9.a
Currently I think they both compiled as release. So I wonder why?
Code: Select all
../configure ... --enable-debug ...
Code: Select all
../configure ... --disable-debug ...
Code: Select all
libwx_baseu-2.9.a
Yes, but isn't that obvious? And am I wrong to expect this difference to be similar as in Windows (like a ration ~5MB/30MB)?The only difference is between debug/release on Linux is that debug build does not strip the symbols from the binaries. But the binaries are exactly bthe same.
Code: Select all
--enable-debug
Code: Select all
--enable-debug_gdb
Well, thats what I though before I started this post. When I compiled with that setting and without that setting, the classes were almost exactly the same size. The I was told (see first posts) that --enable-debug is not an option for Linux any more, windows only.In order to generate the debug build all you do is add
Code: Select all
--enable-debug
The answer is: That is wrong. Doing what you did will cause 2 files with the same name but size differences in the order of 10x. Just as you expected. There must have been an error somewhere.I got different sized files, e.g. 8MN vs 9MB and they have the same filenameThis seems strange, because in Windows those files differ a lot more: 5MB vs. 31MB and the filename differs by "u" vs "ud".Code: Select all
libwx_baseu-2.9.a
Currently I think they both compiled as release. So I wonder why?