Page 1 of 1

Separation of PB x86 and x64

Posted: Thu Mar 14, 2013 7:20 pm
by jassing
It would be nice if you could separate the settings between x64 and x86 PureBasic installations.

For instance, Regardless of if I open x64 or x86 the same set of tools show up -- despite some being only relevant to one or the other. Similarly, it opens the same files.

Re: Separation of PB x86 and x64

Posted: Thu Mar 14, 2013 7:45 pm
by Thunder93
You can by using PB commandline parameters.

Re: Separation of PB x86 and x64

Posted: Thu Mar 14, 2013 7:51 pm
by Thunder93
I update or make duplication of the PB shortcuts and update the shortcuts target fields to include...

*:\Program Files (x86)\PureBasic 5.11\PureBasic.exe" /P "C:\Users\YourName\AppData\Roaming\PB5.11_x86\PureBasic.prefs"/T "C:\Users\YourName\AppData\Roaming\PB5.11_x86\Templates.prefs" /A "C:\Users\YourName\AppData\Roaming\PB5.11_x86\Tools.prefs" /NOEXT

*:\Program Files\PureBasic 5.11\PureBasic.exe" /P "C:\Users\YourName\AppData\Roaming\PB5.11_x64\PureBasic.prefs"/T "C:\Users\YourName\AppData\Roaming\PB5.11_x64\Templates.prefs" /A "C:\Users\YourName\AppData\Roaming\PB5.11_x64\Tools.prefs" /NOEXT

:wink:

Re: Separation of PB x86 and x64

Posted: Thu Jul 31, 2014 3:13 pm
by blueb
jassing wrote:It would be nice if you could separate the settings between x64 and x86 PureBasic installations.

For instance, Regardless of if I open x64 or x86 the same set of tools show up -- despite some being only relevant to one or the other. Similarly, it opens the same files.
I'm having the same issue with the Preferences.prefs file...

my Suggestion - Make 32 and 64 bit 'prefs' files independent.

Presently both 32bit and 64bit versions use the same preference files
which is kept in the default location: C:\Users\Bob\AppData\Roaming\PureBasic\PureBasic.prefs

I regularly use the 32bit version but I recently installed the 64bit version in a seperate directory ( E:\PureBasic64)

I assumed each version would have it's own preference file... independent of the other version, but when I made 'Editor Color Scheme' changes to the 64bit version... it applied the changes to the 32bit version as well.

What I want to do is have a different color scheme for each version so that I know that I'm using the 64bit version versus the 32bit version.

Note: There are a lot of other switches that are affected by using the same C:\Users\Bob\AppData\Roaming\PureBasic\PureBasic.prefs file.

Re: Separation of PB x86 and x64

Posted: Thu Jul 31, 2014 3:39 pm
by Little John
[u]Reference Manual[/u] wrote:To keep the multiple versions from using the same configuration files, the /P /T and /A switches can be used. Furthermore there is the /PORTABLE switch which puts all files back into the PureBasic directory and disabled the creation of the .pb extension.

Re: Separation of PB x86 and x64

Posted: Fri Sep 12, 2014 12:31 pm
by blueznl
-1000

I don't want to even consider having to review my settings for both compilers... Brrr....

Re: Separation of PB x86 and x64

Posted: Fri Sep 12, 2014 3:17 pm
by Tenaja
blueznl wrote:-1000

I don't want to even consider having to review my settings for both compilers... Brrr....
+1

Re: Separation of PB x86 and x64

Posted: Fri Sep 12, 2014 5:22 pm
by helpy
I do not like the idea of separating the prefs for 32/64 bit.

Actually you only could do this for 32/64 bit IDE and not the 32/64 Bit compiler.
You can call 32 or 64 bit compiler from 64 bit IDE.

cu,
Guido

Re: Separation of PB x86 and x64

Posted: Fri Sep 12, 2014 10:40 pm
by Thunder93
I've created a 32bit PB App and placed it into :\Program Files (x86)\PB_Tools\. This 32bit App is added to both PB IDE versions Toolbar. I then able to compile x86 code from x64 PB IDE, and reversed. I'm able to compile x64 code from x86 PB IDE. Through the use of this 32bit PB App, you can have separate prefs.