Compiler location

General discussion on Package Manager Software.
Post Reply
Author
Message
VCC
Posts: 461
Joined: 08 Jun 2009 18:31
Location: Romania

Compiler location

#1 Post by VCC » 08 Sep 2014 09:03

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

User avatar
marina.petrovic
Posts: 2986
Joined: 18 Apr 2013 08:11

Re: Compiler location

#2 Post by marina.petrovic » 09 Sep 2014 15:05

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

VCC
Posts: 461
Joined: 08 Jun 2009 18:31
Location: Romania

Re: Compiler location

#3 Post by VCC » 09 Sep 2014 15:43

Hi Marina,
thank you for answer.

VCC
Posts: 461
Joined: 08 Jun 2009 18:31
Location: Romania

Re: Compiler location

#4 Post by VCC » 26 May 2020 08:16

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

Post Reply

Return to “Package Manager General”