User forums > Help

Improving compiler autodetection (was: Re: registry)

(1/2) > >>

rickg22:
Speaking-of... I've never got to get the MinGW auto-detect working... we should improve on that too.

Urxae:

--- Quote from: rickg22 on November 29, 2005, 06:13:45 pm ---Speaking-of... I've never got to get the MinGW auto-detect working... we should improve on that too.

--- End quote ---
What can I say... Works For MeTM :)
How did you install MinGW? Extracted the archives to some directory other than c:\mingw by any chance?

rickg22:

--- Quote from: Urxae on November 29, 2005, 06:17:45 pm ---How did you install MinGW? Extracted the archives to some directory other than c:\mingw by any chance?

--- End quote ---

Exactly. Mine is in G:\mingw.

I'm thinking of an algorithm:

For all local hard drives:
a) Search for Any "mingw" dir. If found, ask user "is this one?".
b) Not found? Then for all top dirs, check those who have a "mingw32" subdirectory.
c) Not found? Ask the user For the mingw directory (put default dir in the dialog box)

Ta-da! :D

Michael:

--- Quote from: rickg22 on November 29, 2005, 06:31:20 pm ---I'm thinking of an algorithm:

For all local hard drives:
a) Search for Any "mingw" dir. If found, ask user "is this one?".
b) Not found? Then for all top dirs, check those who have a "mingw32" subdirectory.
c) Not found? Ask the user For the mingw directory (put default dir in the dialog box)

Ta-da! :D

--- End quote ---
That's good :). Should be used for the other compilers too.

Best wishes,
Michael

rickg22:
yeah but we'd have to know which directories (or files?) are specific for other compilers.

Navigation

[0] Message Index

[#] Next page

Go to full version