User forums > Help

Code::Blocks and MinGW

<< < (2/2)

raph:
It looks in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall for a key starting with "Minimalist GNU for Windows" and reads the value of "InstallLocation".

connexion2000:
Now it is: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall with a key "MinGW"

dje:
An improvement could be to look in directories pointed by the PATH environment variable (at least on Windows) for the standard MinGW binaries.
I guess there must be equivalent on other OSs.

Dje

raph:

--- Quote from: dje on August 10, 2007, 02:17:02 pm ---An improvement could be to look in directories pointed by the PATH environment variable (at least on Windows) for the standard MinGW binaries.

--- End quote ---
Good idea. I've just submitted a patch.

Navigation

[0] Message Index

[*] Previous page

Go to full version