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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

Jump to solution
431 Views
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

Labels (1)
0 Kudos
1 Solution
346 Views
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.

View solution in original post

0 Kudos
2 Replies
346 Views
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

347 Views
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 Kudos