Since I didn't see a forum dedicated to using Code Blocks Portable, I figured I'd come here instead.
Code::Blocks is a free C++ Programming IDE and has been Portified. It works great with one issue that I've been trying to figure out a solution for. In code blocks, in order to set up the compiler, one must click:
Settings menu -> Compiler and Debugger... -> Toolchain Executable Tab
Under this tab on top is the directory where the Compiler is installed, "Compiler's Installation Directory". On my machine, the value in this box says, "%PAL:CurrentDrive%\Cpp\MingW". The actual location of the compiler on my system is C:\Cpp\MingW. I'm guessing that that "%PAL:CurrentDrive%" is a PortableApps.com environment variable which should hold the drive letter in which Code Blocks Portable is running on currently. However I can't tell. I don't know how to see what the current value would be.
The problem is that when I run CodeBlocks, I must manually replace %PAL:CurrentDrive% with C:\ in order to compile anything. This variable does not seem to work as when I try to compile my program, nothing happens, until I make the change. And I have to change this every single time I start the program, which gets annoying after awhile.
So I guess my question are:
1) How can I see what %PAL:CurrenltDrive% is set to when I open Code Blocks
2) How can I get Code Blocks to keep my change to this setting without having to change it every time it opens?
3) How can I get the variable to work so I can just leave it there. I'd like to keep the variable there so when I put it on my flash drive, it will work when using it on other computers.
Any help would be appreciated. Thank you. Melvin.