PureBasic 6.11 LTS is out !
Re: PureBasic 6.11 LTS Beta 3 is ready for testing !
yes, it's not needed anymore.
Re: PureBasic 6.11 LTS Beta 3 is ready for testing !
Perhaps a stupid question...
Does the new compiler change the structure of the ASM files compared to those produced by compiling with Polink (I haven't installed b3 yet)?
Does the new compiler change the structure of the ASM files compared to those produced by compiling with Polink (I haven't installed b3 yet)?
If my English syntax and lexicon are incorrect, please bear with Google translate and DeepL. They rarely agree with each other!
Except on this sentence...
Except on this sentence...
Re: PureBasic 6.11 LTS Beta 3 is ready for testing !
No, the linker just take all .lib/.obj and create the final exe, it's not the compiler (which is FASM for asm backend and GCC for C backend)
Re: PureBasic 6.11 LTS Beta 3 is ready for testing !
Is Microsoft link.exe still used if the vc directory exists?
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
Re: PureBasic 6.11 LTS Beta 3 is ready for testing !
Yes, you can still use it if you want.
Re: PureBasic 6.11 LTS Beta 3 is ready for testing !
Thanks Fred for your answer.Fred wrote: Mon May 27, 2024 12:22 pm No, the linker just take all .lib/.obj and create the final exe, it's not the compiler (which is FASM for asm backend and GCC for C backend)


If my English syntax and lexicon are incorrect, please bear with Google translate and DeepL. They rarely agree with each other!
Except on this sentence...
Except on this sentence...
Re: PureBasic 6.11 LTS Beta 3 is ready for testing !
I just want to say that I'm really happy with the current state of Purebasic (PB 6.11 LTS B3). My biggest project had some problems with compiling during the early versions of the C compiler, but it compiles without a hitch the past few versions and everything works as expected as far as I can tell. If only I could use PB for all the platforms I have to work with! I use other languages begrudgingly..
Re: PureBasic 6.11 LTS Beta 3 is ready for testing !
Since 6.10 all my x86-C-backend exe's are slightly bigger than the asm-ones. Just mentioning this, I know that the C-ones aren't always smaller, I'm just wondering why (and the answer is surely the changed creation tools).
Good morning, that's a nice tnetennba!
PureBasic 6.21/Windows 11 x64/Ryzen 7900X/32GB RAM/3TB SSD
Synology DS1821+/DX517, 130.9TB+50.8TB+2TB SSD
PureBasic 6.21/Windows 11 x64/Ryzen 7900X/32GB RAM/3TB SSD
Synology DS1821+/DX517, 130.9TB+50.8TB+2TB SSD
Re: PureBasic 6.11 LTS Beta 3 is ready for testing !
If you compile with optimizer the c compiler may align memory and functions, inline functions and unroll loops which will lead to larger executables and may also promote code to vector instructions. PB sets -O2 flagjacdelad wrote: Tue May 28, 2024 12:22 am Since 6.10 all my x86-C-backend exe's are slightly bigger than the asm-ones. Just mentioning this, I know that the C-ones aren't always smaller, I'm just wondering why (and the answer is surely the changed creation tools).
see here https://gcc.gnu.org/onlinedocs/gcc/Opti ... tions.html
Re: PureBasic 6.11 LTS Beta 3 is ready for testing !
Hmm... still not working for me. Everything compiles, but with Polink, I get a 5.8 MB executable. With VC, I get 5.0. With 6.11 B3, seemingly with LLD-link being used (polink and VC are both renamed and I reinstalled), I also get 5.8.
Windows 10 x64.
Any ideas?
Windows 10 x64.
Any ideas?
Re: PureBasic 6.11 LTS Beta 3 is ready for testing !
You can try to rename lld-link to be sure it is using it. So far it should be exactly the same size that vc linker (according to my test).
Re: PureBasic 6.11 LTS Beta 3 is ready for testing !
Ah, yup I got it. That was super interesting, I had a renamed copy of polink and a new version from a reinstall that never got cleaned up and two vc folders...
Thanks for all this work Fred!

Thanks for all this work Fred!
Re: PureBasic 6.11 LTS is out !
2024-06-05: final version is out, thanks for testing!
-
- Enthusiast
- Posts: 377
- Joined: Sat Feb 12, 2022 7:15 pm
Re: PureBasic 6.11 LTS is out !
Great man ! Thank you so much ! I will test it now

Keep it up the good work
Happy coding !
Re: PureBasic 6.11 LTS is out !
Got the PureBasic 6.11 LTS for Linux (Ubuntu 20.04 or 22.04 - x64)
IDE says it is still Beta 3
IDE says it is still Beta 3