Page 13 of 42
Re: PureBasic 6.00 Alpha 3 released !
Posted: Fri Aug 20, 2021 11:16 am
by chi
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

Re: PureBasic 6.00 Alpha 3 released !
Posted: Fri Aug 20, 2021 12:42 pm
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.
Re: PureBasic 6.00 Alpha 3 released !
Posted: Sun Aug 22, 2021 2:40 pm
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

Re: PureBasic 6.00 Alpha 3 released !
Posted: Thu Sep 02, 2021 5:06 pm
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.
Re: PureBasic 6.00 Alpha 3 released !
Posted: Fri Sep 03, 2021 3:13 pm
by akee
Pelle C version 11 has also been released. Just found out.

Re: PureBasic 6.00 Alpha 3 released !
Posted: Fri Sep 03, 2021 3:50 pm
by skywalk
Yes, but Pelles is limited to x86_x64.
The reason for transpile to C is to support ARM and other uprocessors.
Re: PureBasic 6.00 Alpha 4 released !
Posted: Tue Sep 07, 2021 10:43 am
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.
Re: PureBasic 6.00 Alpha 4 released !
Posted: Tue Sep 07, 2021 11:09 am
by pdwyer
So far so good!
The formatdate() bug is still there (but that a PB5 bug I guess)
Re: PureBasic 6.00 Alpha 4 released !
Posted: Tue Sep 07, 2021 4:39 pm
by jacdelad
My bug is also still persisting...

Re: PureBasic 6.00 Alpha 4 released !
Posted: Tue Sep 07, 2021 6:08 pm
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.
Re: PureBasic 6.00 Alpha 4 released !
Posted: Wed Sep 08, 2021 1:52 pm
by chi
Thanks for Alpha 4. I really like the speed improvement when loading a lot of tabs in the IDE

Re: PureBasic 6.00 Alpha 4 released !
Posted: Thu Sep 09, 2021 9:12 am
by sec
How can i compile without those debug string info ?

Re: PureBasic 6.00 Alpha 4 released !
Posted: Thu Sep 09, 2021 11:08 am
by User_Russian
I also noticed these extra sections. Program strip.exe removes them from executable file.
Re: PureBasic 6.00 Alpha 4 released !
Posted: Sun Sep 12, 2021 9:03 am
by thyphoon
Thanks PBTeam ! I love this 6.00 Alpha 4.

Re: PureBasic 6.00 Alpha 4 released !
Posted: Sun Sep 12, 2021 10:00 am
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