AmiBlitz3 icon indicating copy to clipboard operation
AmiBlitz3 copied to clipboard

Compiled files are bigger in AB 3.9.4 as in AB 3.8

Open theotheoderich opened this issue 2 years ago • 5 comments

I used the exactly the same program-code and exactly the same AmiBlitz settings in AB 3.8 and AB 3.9.4. First i created an executable file and then i used the compilier function to create a minimized executable file. The used libs are also the same in both AmiBlitz versions.

The result is: AB 3.8 Filesize 472.768 Bytes

AB 3.9.4 Filesize 487.736 Bytes

This is a difference of nearly 15 kb....that is very much.

theotheoderich avatar Jul 09 '22 11:07 theotheoderich

I guess there is on library that is bigger than with the V3.8 release or there is a lib that has a new dependency to another lib. In the latter case, the lib that is depended by the other lib will be linked in total to the executable.

Do you have many blitzlibs in use with your project ? You can examine the used libs of the current loaded sourcefile by using the "Libs"-Tab in the source browser window.

grafik

honitos avatar Jul 11 '22 14:07 honitos

I know, in both cases (3.8 and 3.9.4) i used the same 29 libs for my game.

theotheoderich avatar Jul 11 '22 14:07 theotheoderich

Can you provide me the list of used blitzlibs (screenshot is sufficient)? Then I check if one of them has been changed.

honitos avatar Jul 12 '22 09:07 honitos

Sure, here is a screenshot from AB 3.8.

grafik

theotheoderich avatar Jul 12 '22 12:07 theotheoderich

I cannot confirm the behavior. For me, the exe file in v3.9.4 is smaller than in v3.8. However, my exe file is only about 130kb "small".

Nju79 avatar Aug 23 '22 17:08 Nju79