[PB6.10B8] Vast Increase in Compiled Size

Everything else that doesn't fall into one of the other PB categories.
User avatar
Teddy Rogers
User
User
Posts: 98
Joined: Sun Feb 23, 2014 2:05 am
Location: Australia
Contact:

[PB6.10B8] Vast Increase in Compiled Size

Post by Teddy Rogers »

I have not tried any other betas than 6.10 beta 8 so I can't tell if this problem is specific to beta 8.

I have a program compiled using 6.04 LTS to 153KB in size. In 6.10 beta 8 this now compiles to 359KB.

Using both C and ASM backend compilers produce similar filesize results.

Is this normal?

Ted.


// Moved from "Bugs - Windows" to "General Discussion" (Kiffi)
BarryG
Addict
Addict
Posts: 4123
Joined: Thu Apr 18, 2019 8:17 am

Re: [PB6.10B8] Vast Increase in Compiled Size

Post by BarryG »

Not a bug. This is normal for product updates due to new commands, fixes, the way things are now compiled, etc.

The PureBasic FAQ page (https://www.purebasic.com/faq.php) really needs to be updated though; as most small programs are NOT 10 KB and 20 KB at all anymore. It should just say less than 1 MB instead, which is more accurate.
devox
User
User
Posts: 32
Joined: Thu Apr 01, 2021 7:25 pm

Re: [PB6.10B8] Vast Increase in Compiled Size

Post by devox »

Since 6.10 Purebasic has started static linking the MS runtime, as previously it linked with the MSVCRT.dll that ships with windows.
This blog post has details about this https://www.purebasic.fr/blog/?p=538
User avatar
Teddy Rogers
User
User
Posts: 98
Joined: Sun Feb 23, 2014 2:05 am
Location: Australia
Contact:

Re: [PB6.10B8] Vast Increase in Compiled Size

Post by Teddy Rogers »

devox wrote: Thu Mar 14, 2024 7:16 am Since 6.10 Purebasic has started static linking the MS runtime, as previously it linked with the MSVCRT.dll that ships with windows.
This blog post has details about this https://www.purebasic.fr/blog/?p=538
I read the blog entry back in November, obviously forgot all about 6.10 being affected by it.

Thank you for the reminder!

Ted.
Post Reply