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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

ソリューションへジャンプ
733件の閲覧回数
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 解決策
648件の閲覧回数
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 返答(返信)
648件の閲覧回数
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

649件の閲覧回数
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 件の賞賛
返信