PureBasic 6.00 released !

Developed or developing a new product in PureBasic? Tell the world about it.
User avatar
chi
Addict
Addict
Posts: 1028
Joined: Sat May 05, 2007 5:31 pm
Location: Linz, Austria

Re: PureBasic 6.00 Alpha 3 released !

Post by chi »

useful wrote: Fri Aug 20, 2021 8:54 am To be honest, I was hoping for something similar ...
https://rapideuphoria.com/e2c.htm
There goes so much into supporting each individual compiler in all its glory, that it would be a pretty time consuming task to do so. I mean, a man can dream though.
marcoagpinto wrote: Fri Aug 20, 2021 9:24 am @Fred:

At least create a compiler option in a combobox:
1) GCC 8.5
2) GCC 11.2
One supported and maintained version of gcc would be enough IMHO. Let's not make it complicated. If you want, you can switch versions yourself...
User_Russian wrote: Fri Aug 20, 2021 10:03 am Fred has not been on the forum for a long time...
He'll read new posts eventually ;)
Et cetera is my worst enemy
User avatar
Tenaja
Addict
Addict
Posts: 1948
Joined: Tue Nov 09, 2010 10:15 pm

Re: PureBasic 6.00 Alpha 3 released !

Post by Tenaja »

I would not venture to ask Fred to support every C compiler on the planet! He would never get anything else done! But, it is his choice.

In the meantime, just rename your GCC, and create a new program with the old GCC name. The new program can be a selector, or it can merely be the new GCC. Fred has encouraged this with the assembler, for making edits to assembly prior to assembling. There is no reason you cannot do this with the C compiler.
User avatar
chi
Addict
Addict
Posts: 1028
Joined: Sat May 05, 2007 5:31 pm
Location: Linz, Austria

Re: PureBasic 6.00 Alpha 3 released !

Post by chi »

If you want to compare the output of different GCC versions or get a better insight what the compiler actually does when it "optimizes" (e.g. -O2) your code, you can go to Compiler Explorer, set the language to C, choose a compiler and paste (or load) your Purebasic.c file (create with: pbcompilerc.exe app.pb /commented) there. Just add #define __stdcall to the beginning of your code and you are ready to go... HF :)
Et cetera is my worst enemy
User avatar
RichAlgeni
Addict
Addict
Posts: 914
Joined: Wed Sep 22, 2010 1:50 am
Location: Bradenton, FL

Re: PureBasic 6.00 Alpha 3 released !

Post by RichAlgeni »

Tenaja wrote: Fri Aug 20, 2021 12:42 pm I would not venture to ask Fred to support every C compiler on the planet! He would never get anything else done!
The notion that we are asking Fred to support every C compiler on the planet is moronic. We were simply asking why the latest version was not being used.
akee
Enthusiast
Enthusiast
Posts: 475
Joined: Wed Aug 18, 2004 9:52 am
Location: Penang, Malaysia

Re: PureBasic 6.00 Alpha 3 released !

Post by akee »

Pelle C version 11 has also been released. Just found out. :)
User avatar
skywalk
Addict
Addict
Posts: 3972
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: PureBasic 6.00 Alpha 3 released !

Post by skywalk »

Yes, but Pelles is limited to x86_x64.
The reason for transpile to C is to support ARM and other uprocessors.
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
Fred
Administrator
Administrator
Posts: 16619
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PureBasic 6.00 Alpha 4 released !

Post by Fred »

Alpha 4 is ready to test ! We fixed almost all reported bugs (except one), so we hope we are closer to a beta release. Next step is adding DLL support and building the C compiler on Linux and OS X. Don't hesitate to give it a try, and report any differences between the ASM and C backend.
User avatar
pdwyer
Addict
Addict
Posts: 2813
Joined: Tue May 08, 2007 1:27 pm
Location: Chiba, Japan

Re: PureBasic 6.00 Alpha 4 released !

Post by pdwyer »

So far so good! :)

The formatdate() bug is still there (but that a PB5 bug I guess)
Paul Dwyer

“In nature, it’s not the strongest nor the most intelligent who survives. It’s the most adaptable to change” - Charles Darwin
“If you can't explain it to a six-year old you really don't understand it yourself.” - Albert Einstein
User avatar
jacdelad
Addict
Addict
Posts: 1432
Joined: Wed Feb 03, 2021 12:46 pm
Location: Planet Riesa
Contact:

Re: PureBasic 6.00 Alpha 4 released !

Post by jacdelad »

My bug is also still persisting... :cry:
PureBasic 6.04/XProfan X4a/Embarcadero RAD Studio 11/Perl 5.2/Python 3.10
Windows 11/Ryzen 5800X/32GB RAM/Radeon 7770 OC/3TB SSD/11TB HDD
Synology DS1821+/36GB RAM/130TB
Synology DS920+/20GB RAM/54TB
Synology DS916+ii/8GB RAM/12TB
User avatar
Blue
Addict
Addict
Posts: 864
Joined: Fri Oct 06, 2006 4:41 am
Location: Canada

Re: PureBasic 6.00 Alpha 4 released !

Post by Blue »

@Fred :
It would be useful if, in the top post of this topic, you specified the date next to the release version number.
Thanks.
Last edited by Blue on Thu Sep 09, 2021 11:46 am, edited 2 times in total.
"That's not a bug..." said the programmer. "it's a feature! "
"Oh! I see..." replied the blind man.
User avatar
chi
Addict
Addict
Posts: 1028
Joined: Sat May 05, 2007 5:31 pm
Location: Linz, Austria

Re: PureBasic 6.00 Alpha 4 released !

Post by chi »

Thanks for Alpha 4. I really like the speed improvement when loading a lot of tabs in the IDE :D
Et cetera is my worst enemy
sec
Enthusiast
Enthusiast
Posts: 789
Joined: Sat Aug 09, 2003 3:13 am
Location: 90-61-92 // EU or ASIA
Contact:

Re: PureBasic 6.00 Alpha 4 released !

Post by sec »

How can i compile without those debug string info ?
Image
User_Russian
Addict
Addict
Posts: 1443
Joined: Wed Nov 12, 2008 5:01 pm
Location: Russia

Re: PureBasic 6.00 Alpha 4 released !

Post by User_Russian »

I also noticed these extra sections. Program strip.exe removes them from executable file.
User avatar
thyphoon
Enthusiast
Enthusiast
Posts: 327
Joined: Sat Dec 25, 2004 2:37 pm

Re: PureBasic 6.00 Alpha 4 released !

Post by thyphoon »

Thanks PBTeam ! I love this 6.00 Alpha 4. :mrgreen:
User avatar
mk-soft
Always Here
Always Here
Posts: 5335
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: PureBasic 6.00 Alpha 4 released !

Post by mk-soft »

Will there be three different Purebasic libraries for macOS later?

As I read, you can compile the programs and libraries for different architectures.

For intel: "x86_64"
For M1: "arm64"
Or: "Universal binary" for Intel and M1
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Post Reply