News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Compiler must be in path? (and other compiler config stuff)

Started by ET, March 07, 2005, 12:16:06 PM

Previous topic - Next topic

ET

I could only get the compiler to work by putting it on the path. What's the compiler's installation directory field for, then?

A couple of other compiler questions:
Is it possible to have more than one compiler? For example, more than one gcc compiler?

And how about populating the program files automatically for a gcc target? They're always in the form 'prefix-gcc.exe' (for example 'sparc-elf-gcc.exe', which is what I configured) and so on, so just use let enter a prefix and configure all, or better, figure the prefix out from the files.

And what does 'auto detect' do? It couldn't find anything though my system is crawling with gcc compilers.

mandrav

QuoteI could only get the compiler to work by putting it on the path
And what path exactly did you put in the master path?

QuoteIs it possible to have more than one compiler? For example, more than one gcc compiler
Go to "Settings/Configure plugins/Compiler" and press the "Copy" button just under the compiler selection.

QuoteAnd how about populating the program files automatically for a gcc target?
Why do that automatically? The compiler configuration process, is a process that takes a couple of minutes and takes place only once, usually. Plus, the naming scheme is not the same under other platforms...

QuoteAnd what does 'auto detect' do?
It tries to auto-detect the compiler path. It may fail...
For mingw gcc, it looks for mingw.ini in windows dir. There is a mingw-installation bug with this, mentioned in this thread.

For MSVC toolkit, it checks the registry.
Generally, for each compiler, it uses a method appropriate for it.

Yiannis.
Be patient!
This bug will be fixed soon...

rickg22

How about searching for GCC/MINGW in the Environment Path?

Like C:\WINDOWS;C:\Program files\something;C:\MyUtils;etc

You could also add a check button for "[] Search full drive(s)"