All in one compilers

Share your advanced PureBasic knowledge/code with the community.
Everything
Enthusiast
Enthusiast
Posts: 225
Joined: Sat Jul 07, 2018 6:50 pm

All in one compilers

Post by Everything »

Image

Add in PureBasic.prefs --> [MoreCompilers]

Code: Select all

[MoreCompilers]
Count = 20 ; in my case 20 more compilers
Compiler1_Exe = Compilers\x64\Compilers\pbcompiler.exe
Compiler1_Md5 = ; MD5 HERE (file above)
Compiler1_Version = PureBasic 6.10 (Windows - x64)
Compiler2_Exe = Compilers\x64\Compilers\pbcompilerc.exe
Compiler2_Md5 = ; MD5 HERE (file above)
Compiler2_Version = PureBasic 6.10 (Windows - x64) - C Backend
...
etc
Required content of additional compiler directory:

Code: Select all

Catalogs
Compilers
PureLibraries
Residents
SubSystems
Image

And here you go - latest IDE with any old version compilers.
moricode
Enthusiast
Enthusiast
Posts: 162
Joined: Thu May 25, 2023 3:55 am

Re: All in one compilers

Post by moricode »

hi , could you compile a v6.11 source code with v5.11 compiler ? thanks
BarryG
Addict
Addict
Posts: 4173
Joined: Thu Apr 18, 2019 8:17 am

Re: All in one compilers

Post by BarryG »

Good question, moricode! That would be awesome if possible.
User avatar
Demivec
Addict
Addict
Posts: 4267
Joined: Mon Jul 25, 2005 3:51 pm
Location: Utah, USA

Re: All in one compilers

Post by Demivec »

I personally include all previous compilers (because I have all versions installed) as part of the preference file with each new version released. I do this by just copying that information from the previous release's preference file simular to the above. It saves loads of time.
User avatar
mk-soft
Always Here
Always Here
Posts: 6246
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: All in one compilers

Post by mk-soft »

moricode wrote: Sat Jul 27, 2024 2:28 am hi , could you compile a v6.11 source code with v5.11 compiler ? thanks
Limited yes,
But no new PB functions or constants that didn't exist before.
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