Why is dynamic static build lib so big? |
Post Reply |
Author | |
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Posted: 26 September 2005 at 7:06am |
jeffcmj, Barto you was right, it was our bug with exporting symbols. Was fixed for 9.80 |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Barto
Groupie Joined: 27 February 2005 Location: Germany Status: Offline Points: 60 |
Post Options
Thanks(0)
|
I noticed there seems to be a bug in 9.70 regarding the #defines XT_STATICLINK and _XT_STATICLINK. So every time I compile my app with static XTP, it also generates an .exp and .lib file and of course all the XTP symbols are there by name in the .exe for exporting... This probably explains the bigger size. I hope Codejock fixes this problem for the next release, it's a bit annoying.. |
|
PeterP
Newbie Joined: 18 September 2005 Location: Australia Status: Offline Points: 3 |
Post Options
Thanks(0)
|
The size went up drastically with version 9.70. My release build executable using dynStatic library increased in size by over 700k just by changing from v9.601 to v9.70. This seems out of proportion to the features added. |
|
jeffcmj
Groupie Joined: 28 October 2004 Status: Offline Points: 92 |
Post Options
Thanks(0)
|
Sorry to bump. The result I got with same application: 1. Compile with shared MFC lib 1328KB It's more strange that share MFC link even larger than static link. |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hello, Compare result exectables. Lib files contain a lot of internal links/symbols. |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
jeffcmj
Groupie Joined: 28 October 2004 Status: Offline Points: 92 |
Post Options
Thanks(0)
|
no. I used the default deploy wizard to compile. Doesn't anyone notice this ?
|
|
srana
Groupie Joined: 15 May 2003 Location: India Status: Offline Points: 27 |
Post Options
Thanks(0)
|
Are you using whole program optimization ?
|
|
Shrishail Rana |
|
jeffcmj
Groupie Joined: 28 October 2004 Status: Offline Points: 92 |
Post Options
Thanks(0)
|
It's over 22M while static build is just 9M. I though the dynStatic build come without MFC dll, which shall make it smaller. If it's even bigger than I static link with MFC dll, there is no reason to use it. Did I build in a wrong way or there is something wrong with the toolkit? |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |