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)
[PB6.10B8] Vast Increase in Compiled Size
- Teddy Rogers
- User
- Posts: 98
- Joined: Sun Feb 23, 2014 2:05 am
- Location: Australia
- Contact:
Re: [PB6.10B8] Vast Increase in Compiled Size
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.
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.
Re: [PB6.10B8] Vast Increase in Compiled Size
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
This blog post has details about this https://www.purebasic.fr/blog/?p=538
- Teddy Rogers
- User
- Posts: 98
- Joined: Sun Feb 23, 2014 2:05 am
- Location: Australia
- Contact:
Re: [PB6.10B8] Vast Increase in Compiled Size
I read the blog entry back in November, obviously forgot all about 6.10 being affected by it.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
Thank you for the reminder!
Ted.