How to integrate X86 Compiler into X64 version?

Everything else that doesn't fall into one of the other PB categories.
Klonk
Enthusiast
Enthusiast
Posts: 173
Joined: Tue Jul 13, 2004 2:17 pm

How to integrate X86 Compiler into X64 version?

Post by Klonk »

Hi,

maybe this has been asked before, but at least I haven't found information on this topic.

I installed the x64 version (as I run x64 windows).
As I found out I have to use the x86 Compiler in order to create 32 bit applications.

Do I have to install the x86 version also?
Can I copy parts of the x86 installation, maybe into a directory "x86Compiler"?
Which parts/files?
Is it possible to copy the x86 compiler also into the directory "Compilers"?
Is it possible to extract the installation .exe (maybe a command line option) thus no need to install the x86 version?

Thanks for your help
Bye Karl
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6175
Joined: Sat May 17, 2003 11:31 am
Contact:

Re: How to integrate X86 Compiler into X64 version?

Post by blueznl »

I simply installed it twice...
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB - upgrade incoming...)
( The path to enlightenment and the PureBasic Survival Guide right here... )
User avatar
STARGÅTE
Addict
Addict
Posts: 2315
Joined: Thu Jan 10, 2008 1:30 pm
Location: Germany, Glienicke
Contact:

Re: How to integrate X86 Compiler into X64 version?

Post by STARGÅTE »

... and then select the x86 Compiler in your x64 IDE:

File -> Preferences -> Compiler -> search the PBCompiler.exe from x86 -> Add

then you can select the compiler (x64 or x86) in
Compiler -> Compiler Options -> Use Compiler -> PureBasic 4.61 (Windows - x86)
PB 6.01 ― Win 10, 21H2 ― Ryzen 9 3900X, 32 GB ― NVIDIA GeForce RTX 3080 ― Vivaldi 6.0 ― www.unionbytes.de
Lizard - Script language for symbolic calculations and moreTypeface - Sprite-based font include/module
User avatar
Josh
Addict
Addict
Posts: 1183
Joined: Sat Feb 13, 2010 3:45 pm

Re: How to integrate X86 Compiler into X64 version?

Post by Josh »

STARGÅTE wrote:... and then select the x86 Compiler in your x64 IDE:

File -> Preferences -> Compiler -> search the PBCompiler.exe from x86 -> Add

then you can select the compiler (x64 or x86) in
Compiler -> Compiler Options -> Use Compiler -> PureBasic 4.61 (Windows - x86)
i did so and it works fine for short codes. but i have problems, when I'm working with x86 compiler in my project (about 10.000 lines). the compiler crash about all 5 minutes.

josh
sorry for my bad english
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Re: How to integrate X86 Compiler into X64 version?

Post by ts-soft »

Josh wrote:i did so and it works fine for short codes. but i have problems, when I'm working with x86 compiler in my project (about 10.000 lines). the compiler crash about all 5 minutes.

josh
I have a project with over 25000 lines of code, compiling in a project to x64 and x86 exe, without problems.
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
User avatar
Josh
Addict
Addict
Posts: 1183
Joined: Sat Feb 13, 2010 3:45 pm

Re: How to integrate X86 Compiler into X64 version?

Post by Josh »

ts-soft wrote:I have a project with over 25000 lines of code, compiling in a project to x64 and x86 exe, without problems.
compiling works also fine here. there is also no problem, when i'm working for a long time in the pb-installation x86 or x64. but pb crash, when i'm working in x64 and have selected the x86 compiler. :(
sorry for my bad english
Klonk
Enthusiast
Enthusiast
Posts: 173
Joined: Tue Jul 13, 2004 2:17 pm

Re: How to integrate X86 Compiler into X64 version?

Post by Klonk »

Ok, I'd like to have all Purebasic files in one directory, so which directories I have to copy?
.\Compilers
what else?
.\PureLibraries?

Honestly I would really prefer to one installer, where I can decide what to install...
Bye Karl
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Re: How to integrate X86 Compiler into X64 version?

Post by ts-soft »

Compilers - PureLibraries - Residents - SubSystems
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
Post Reply