Author Topic: where are compiler paths stored  (Read 3516 times)

stretchboom

  • Guest
where are compiler paths stored
« 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.

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5491
Re: where are compiler paths stored
« Reply #1 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.

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2778
Re: where are compiler paths stored
« Reply #2 on: December 31, 2006, 03:12:26 pm »
   //-- Nightly Builds
    Nightly builds

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

« Last Edit: December 31, 2006, 03:27:30 pm by Pecan »

stretchboom

  • Guest
Re: where are compiler paths stored
« Reply #3 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.

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2778
Re: where are compiler paths stored
« Reply #4 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.