User forums > General (but related to Code::Blocks)
Moving to GCC question
troels:
--- Quote from: TDragon on January 18, 2006, 04:36:34 pm ---Now that I've posted all that, I'm not so sure anymore
--- End quote ---
I'm quite sure. My projects also compiles one updir (#include "..") for some reason, it breaks only on two ("../../").
(Again, rightclick -> "Build File" works, Ctrl+F9 doesn't)
--- Quote from: troels on January 18, 2006, 04:21:10 pm ---Excellent! Thanks TDragon!
--- End quote ---
And thanks to Michael,Thomas and Mandrav too!
/Troels
TDragon:
Ah, now that's an interesting gotcha. Probably deserving of a bug report to GCC if someone can get rigorous on it. For now, you would probably need to add all your source subdirectories under Code::Blocks' Project->Build Options->Directories->Compiler, to avoid making changes to the actual source files.
tiwag:
--- Quote from: troels on January 18, 2006, 01:43:03 pm ---Here's a little test C::B project for demonstrating this:
http://www.trak.dk/gcctest.zip
--- End quote ---
add a Compiler directory "./mylib/src"
because all your relative pathes are relative to that dir
then it works
[attachment deleted by admin]
Michael:
--- Quote from: tiwag on January 18, 2006, 04:53:12 pm ---add a Compiler directory "./mylib/src"
because all your relative pathes are relative to that dir
then it works
--- End quote ---
Interesting :).
Michael
troels:
--- Quote from: TDragon on January 18, 2006, 04:47:27 pm ---For now, you would probably need to add all your source subdirectories...
--- End quote ---
Been down that route. Not really feasible in largish projects. I can afford to wait - a while yet :)
/Troels
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version