User forums > Using Code::Blocks
Can I make C::B portable?
Squeller:
Hi,
can I make cb portable together with the gnu gcc compiler? This requires to set relative paths e.g. in the compiler options. Has someone tried it?
Thx
thomas:
There should be no reason why that should not work. The development version of Code::Blocks should be alltogether relocatable ("portable").
For RC2/Windows, that's of course not true, since RC2 writes its configuration to the Windows registry.
bigbug:
Some time ago I tried it. I managed it to make the compiler directory relative by using the variable $(CODEBLOCKS). But it didn't work for the debugger. It looked like the builtin variables weren't expanded for the invocation of the debugger.
Pecan:
Search the main index for "usb". There's a lot of info on portability.
bigbug:
I've tried it again. It still doesn't work, because:
* if you use a relative path in "Global compiler settings/Programs", it's relative to the current project
* builtin variables neither expand if used for the "Compiler's installation directory" nor if used for the debugger pathWould it be a great effort to make the builtin variables expand in either the "Compiler's installation directory" or the debugger path?
Navigation
[0] Message Index
[#] Next page
Go to full version