User forums > General (but related to Code::Blocks)
Moving to GCC question
troels:
--- Quote from: Takeshi Miya on September 24, 2006, 08:40:33 pm ---So now I understand, it's about
--- Code: ---cd WhereTheFileIs/file.cpp
gcc file.cpp
--- End code ---
instead of
--- Code: ---gcc -IWhereTheFileIs file.cpp
--- End code ---
right?
--- End quote ---
Yes! You are illustrating the issue much better than I.
To recapitulate:
This is what the option currently do albeit not by default:
--- Code: ---gcc -IWhereTheFileIs file.cpp
--- End code ---
But this would be a nicer default behaviour as it is what other tools seems to be doing:
--- Code: ---cd WhereTheFileIs
gcc file.cpp
--- End code ---
troels:
Maybe this option can be removed again
"Explicitly add currently compiling file's directory to compiler search dirs" (Build Options tab)
It seems that 'recent' versions of MinGW gcc itself adds the compiling file's directory now (since when?).
Ie, I can compile my projects now without this option set, and also the test in Reply#3 that used to fail in 2006 (www.trak.dk/gcctest.zip)
Using CodeBlocks 15.12 RC with bundled MinGW tdm-1.
Best regards
MortenMacFly:
--- Quote from: troels on December 02, 2015, 01:55:56 pm ---Maybe this option can be removed again
--- End quote ---
As long as old compilers are in th use we shouldn't remove it. Its disabled by default and... well... "well hidden" so it should not harm. And anyways: If you enable it it won't cause any negative side-effects even if MinGW add it once again.
Navigation
[0] Message Index
[*] Previous page
Go to full version