Page 3 of 5

Re: PureBasic 6.11 LTS Beta 3 is ready for testing !

Posted: Mon May 27, 2024 9:41 am
by Fred
yes, it's not needed anymore.

Re: PureBasic 6.11 LTS Beta 3 is ready for testing !

Posted: Mon May 27, 2024 10:58 am
by boddhi
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)?

Re: PureBasic 6.11 LTS Beta 3 is ready for testing !

Posted: Mon May 27, 2024 12:22 pm
by Fred
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 !

Posted: Mon May 27, 2024 12:41 pm
by skywalk
Is Microsoft link.exe still used if the vc directory exists?

Re: PureBasic 6.11 LTS Beta 3 is ready for testing !

Posted: Mon May 27, 2024 1:38 pm
by Fred
Yes, you can still use it if you want.

Re: PureBasic 6.11 LTS Beta 3 is ready for testing !

Posted: Mon May 27, 2024 8:07 pm
by boddhi
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)
Thanks Fred for your answer.
:oops: Indeed, it was question a little bit stupid as the linker operates after the ASM files have been created... :)

Re: PureBasic 6.11 LTS Beta 3 is ready for testing !

Posted: Mon May 27, 2024 9:56 pm
by flood
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 !

Posted: Tue May 28, 2024 12:22 am
by jacdelad
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).

Re: PureBasic 6.11 LTS Beta 3 is ready for testing !

Posted: Tue May 28, 2024 1:00 am
by idle
jacdelad 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).
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 flag
see here https://gcc.gnu.org/onlinedocs/gcc/Opti ... tions.html

Re: PureBasic 6.11 LTS Beta 3 is ready for testing !

Posted: Tue May 28, 2024 3:57 pm
by Quin
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?

Re: PureBasic 6.11 LTS Beta 3 is ready for testing !

Posted: Tue May 28, 2024 6:43 pm
by Fred
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 !

Posted: Tue May 28, 2024 11:35 pm
by Quin
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... :oops:
Thanks for all this work Fred!

Re: PureBasic 6.11 LTS is out !

Posted: Thu Jun 06, 2024 8:15 am
by Fred
2024-06-05: final version is out, thanks for testing!

Re: PureBasic 6.11 LTS is out !

Posted: Thu Jun 06, 2024 8:55 am
by threedslider
Fred wrote: Thu Jun 06, 2024 8:15 am 2024-06-05: final version is out, thanks for testing!
Great man ! Thank you so much ! I will test it now :D

Keep it up the good work

Happy coding !

Re: PureBasic 6.11 LTS is out !

Posted: Thu Jun 06, 2024 9:17 am
by Jeromyal
Got the PureBasic 6.11 LTS for Linux (Ubuntu 20.04 or 22.04 - x64)

IDE says it is still Beta 3