Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Feature Request Adding A particular directory to search compilers directories

(1/2) > >>

Hadomunt:
The detection feature of Code::Blocks for compilers is very welcome.

Unfortunatelly when I used Qt SDK it didn't detect Mingw present in that location.

Thus, could you please add the following location to the locations where Code::Blocks searches for compilers?
C:\Qt\2010.04\mingw



Code::Blocks version:
Release 10.05 rev 6283 (2010-05-27 09:09:13) gcc 4.4.1 Windows/unicode - 32 bit



[attachment deleted by admin]

oBFusCATed:
Why?
This is not the standard location or the mingw installation.
The detection is made, so 99% of the people have no problem with the installation/setup of CB and mingw,
and you are in the 1% of people that install custom compilers and you're supposed to know how to setup it.

billyonthemountain:
Correct me if I'm wrong but Codeblocks should be able to detect the compiler if C:\Qt\2010.04\mingw is in your PATH. Binaries should have the form "mingw32-*" since you are on Windows.

But maybe it might time to start considering names and paths other than standard ones like :

* c:\mingw{32|64}
* x86_64-w64-mingw32-*
This is notably the case for those using the mingw64 compiler or TDM's GCC-tdm64...

with regards,

Billy

note: This might be an idea for the new compiler framework...

oBFusCATed:
billyonthemountain: You propose that when C::B is started for the first time, it will do a search on the whole filesystem for known compilers?
Depending on the computer, this can take ages...

Jenna:
And you can have multiple versions of MinGW in parallel, which one to use in this case ?

Navigation

[0] Message Index

[#] Next page

Go to full version