Compiled library size is significantly bigger in v7.2 than v6.3

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Compiled library size is significantly bigger in v7.2 than v6.3

跳至解决方案
743 次查看
kwilson2107
Contributor II

Hi all,

 

I'm trying out v7.2 by converting several v6.3 projects. My libraries compile just fine (after doing the __declspec fix), but I've noticed the size of the libraries are consistently ~1,600KB larger with v7.2. I've had libraries go from 125KB to 1,766KB, and from 1,366KB to 3,135KB. I have not changed any optimizations. In the project window, the Code and Data information is consistently smaller in v7.2, so I'm not sure why the compiled library would be bigger. Any ideas? I appreciate any help. Thank you!

 

By the way, the target processor is MCF5373L

标签 (1)
标记 (2)
0 项奖励
回复
1 解答
658 次查看
kwilson2107
Contributor II

I found my answer. I had to un-check the librarian feature as it was including the EWL libraries. Thanks for your help though.

在原帖中查看解决方案

0 项奖励
回复
2 回复数
658 次查看
CrasyCat
Specialist III

Hello

Might be some differences in the generated debug information.

  • When building with V6.3 did you generate debug information for your library?
    What about library built with V7.2?
  • Inside of debug information paths might be specified using full paths or relative paths.
    If this has changes between the 2 libraries, this might explain the size difference.

You may be able to check that by disassembling both .lib files and checking format of debug information.

CrasyCat

659 次查看
kwilson2107
Contributor II

I found my answer. I had to un-check the librarian feature as it was including the EWL libraries. Thanks for your help though.

0 项奖励
回复