PureBasic 6.11 LTS is out !

Developed or developing a new product in PureBasic? Tell the world about it.
Fred
Administrator
Administrator
Posts: 18150
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

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

Post by Fred »

yes, it's not needed anymore.
boddhi
Enthusiast
Enthusiast
Posts: 524
Joined: Mon Nov 15, 2010 9:53 pm

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

Post 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)?
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...
Fred
Administrator
Administrator
Posts: 18150
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

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

Post 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)
User avatar
skywalk
Addict
Addict
Posts: 4210
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

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

Post by skywalk »

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
Fred
Administrator
Administrator
Posts: 18150
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

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

Post by Fred »

Yes, you can still use it if you want.
boddhi
Enthusiast
Enthusiast
Posts: 524
Joined: Mon Nov 15, 2010 9:53 pm

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

Post 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... :)
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...
flood
User
User
Posts: 32
Joined: Sun Aug 14, 2011 10:32 pm

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

Post 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..
User avatar
jacdelad
Addict
Addict
Posts: 1991
Joined: Wed Feb 03, 2021 12:46 pm
Location: Riesa

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

Post 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).
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
User avatar
idle
Always Here
Always Here
Posts: 5834
Joined: Fri Sep 21, 2007 5:52 am
Location: New Zealand

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

Post 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
Quin
Addict
Addict
Posts: 1122
Joined: Thu Mar 31, 2022 7:03 pm
Location: Colorado, United States
Contact:

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

Post 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?
Fred
Administrator
Administrator
Posts: 18150
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

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

Post 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).
Quin
Addict
Addict
Posts: 1122
Joined: Thu Mar 31, 2022 7:03 pm
Location: Colorado, United States
Contact:

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

Post 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!
Fred
Administrator
Administrator
Posts: 18150
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PureBasic 6.11 LTS is out !

Post by Fred »

2024-06-05: final version is out, thanks for testing!
threedslider
Enthusiast
Enthusiast
Posts: 377
Joined: Sat Feb 12, 2022 7:15 pm

Re: PureBasic 6.11 LTS is out !

Post 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 !
Jeromyal
Enthusiast
Enthusiast
Posts: 216
Joined: Wed Jul 17, 2013 8:49 am

Re: PureBasic 6.11 LTS is out !

Post by Jeromyal »

Got the PureBasic 6.11 LTS for Linux (Ubuntu 20.04 or 22.04 - x64)

IDE says it is still Beta 3
Post Reply