Page 1 of 1

Compiler location

Posted: 08 Sep 2014 09:03
by VCC
Hi,
I tend to use more than one version of a compiler (installed in separate folders) until I am sure that a new version doesn't introduce problems to an existing project. Thus, I want to install various packages in a certain compiler. How do I tell Package Manager where is the compiler where I want the package to be installed? It's fine for me if I have to edit Windows registry every time I want to install a package. I just don't know what to edit. Where does Package Manager look for a compiler installation?
Thank you :D

Re: Compiler location

Posted: 09 Sep 2014 15:05
by marina.petrovic
Hi,

The only way is to install version of compilers one after the other, from the oldest to the newest version,
(if you already have compilers installed, you need to uninstall them),
and after every version installed, you should install Package Manager.
You should set every time other folder when you want to install the compiler when installation wizard offer you to choose the folder.

Best regards,
Marina

Re: Compiler location

Posted: 09 Sep 2014 15:43
by VCC
Hi Marina,
thank you for answer.

Re: Compiler location

Posted: 26 May 2020 08:16
by VCC
Hi,
I stumbled upon this problem again, and I see that there are other users facing similar things.
Here are the keys/value I added to Windows Registry, so that Pacakage Manager would find the compilers.

Examples for mikroPascal for PIC, dsPIC, PIC32 compilers:

Code: Select all

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\MikroElektronika]

[HKEY_CURRENT_USER\Software\MikroElektronika\mikroPascal PRO for PIC]
@="C:\\Program Files\\Mikroelektronika\\mikroPascal PRO for PIC"
"Examples"="C:\\Program Files\\Mikroelektronika\\mikroPascal PRO for PIC\\Examples"
"Version"="6400"

[HKEY_CURRENT_USER\Software\MikroElektronika\mikroPascal PRO for dsPIC]
@="C:\\Program Files\\Mikroelektronika\\mikroPascal PRO for dsPIC"
"Examples"="C:\\Program Files\\Mikroelektronika\\mikroPascal PRO for dsPIC\\Examples"
"Version"="7100"

[HKEY_CURRENT_USER\Software\MikroElektronika\mikroPascal PRO for PIC32]
@="C:\\Program Files\\Mikroelektronika\\mikroPascal PRO for PIC32"
"Examples"="C:\\Program Files\\Mikroelektronika\\mikroPascal PRO for PIC32\\Examples"
"Version"="4000"
Edit the names and paths to the executables in above registry values, save this content to a .reg file and double click on it. RegEdit will ask for permission to merge the new content.
The paths to examples folders and the compiler versions might not be relevant for PackageManager.

HTH :D