[Qt-interest] win32-g++ compiled Qt app much bigger than win32-msvc compiled one?
Thiago Macieira
thiago.macieira at trolltech.com
Thu Apr 2 08:14:30 CEST 2009
Nikolay Moskvichev wrote:
>> -rwxr-xr-x 1 user group 9542 2009-04-01 14:17 a.out
>
>I think, if you call ldd on your a.out, it show you something like:
>
>bash-2.05$ ldd a.out
> libstdc++.so.3 => /usr/lib/libstdc++.so.3 (0x40025000)
> libm.so.6 => /lib/libm.so.6 (0x400ca000)
> libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x400ec000)
> libc.so.6 => /lib/libc.so.6 (0x400f6000)
> /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
No, a Qt program wouldn't be that small (9.5k) unless it were linking
dynamically to Qt. So the ldd output would be a bit longer.
But the comparison is still valid for one reason: you can expect Qt to be
installed on a Linux system, whereas you can't make that assumption on
Windows.
--
Thiago Macieira - thiago.macieira (AT) nokia.com
Senior Product Manager - Nokia, Qt Software
Sandakerveien 116, NO-0402 Oslo, Norway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090402/3ffd1d44/attachment.bin
More information about the Qt-interest-old
mailing list