Code::Blocks Forums

User forums => Help => Topic started by: stretchboom on December 31, 2006, 02:38:19 pm

Title: where are compiler paths stored
Post by: stretchboom on December 31, 2006, 02:38:19 pm
Hi,
i'm doing a auto-updater for bcc and ilink paths in their config file, so that i can use c::b with bcc on every win machine by usb-pen.
Now i wan't to correct the bcc compiler path in the c::b options too. But can't find an ini file or something where the compiler paths are stored. Can anyone help me find that path?
I have the win Binary codeblocks-1.0rc2.exe running.
Title: Re: where are compiler paths stored
Post by: killerbot on December 31, 2006, 02:50:57 pm
for RC2 I think it is somewhere in the registry.

But I would suggest you update to a recent nightly build, so much better. Then those settings are stored in the user profile, normally in default.conf.
Title: Re: where are compiler paths stored
Post by: Pecan on December 31, 2006, 03:12:26 pm
   //-- Nightly Builds
    Nightly builds (http://forums.codeblocks.org/index.php?board=20.0)

For the nightly builds, default.conf is located:

XP: \Documents and Settings\{your login name}\Application Data\codeblocks\

Linux: ~/.codeblocks

The paths may be set via:
Menu=>Setting=>Compiler&Debugger=>Programs tab

(http://img380.imageshack.us/img380/1227/94cj2.png)
Title: Re: where are compiler paths stored
Post by: stretchboom on December 31, 2006, 09:52:52 pm
Ah. Tried out todays nightly build and found the default.conf. I will finish that thing called codeblocksPortable tomorrow. Thx 2 all.
Title: Re: where are compiler paths stored
Post by: Pecan on December 31, 2006, 10:28:37 pm
Ah. Tried out todays nightly build and found the default.conf. I will finish that thing called codeblocksPortable tomorrow. Thx 2 all.

You might want to do a search on the word "portable" from the forum home index.
Others have already been through the pain.