Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: grv575 on September 09, 2005, 08:47:25 pm

Title: linux config file
Post by: grv575 on September 09, 2005, 08:47:25 pm
If I did just ./configure without a --prefix flag, then where should I expect the codeblocks configuration information to be (ran just ./codeblocks with no flags) -- should there be a config file in /usr/local/share/codeblocks?
Title: Re: linux config file
Post by: mandrav on September 09, 2005, 09:18:18 pm
If you ommit the --prefix switch, the default installation path is set to /usr/local.
If you 're asking if it's possible to ./configure, make and run codeblocks without installing it (make install), you can't. The datafiles, plugins etc are put together on installation.
Title: Re: linux config file
Post by: grv575 on September 10, 2005, 02:43:18 am
I have /usr/local/share/codeblocks/
What's the configuration filename on Linux?
Title: Re: linux config file
Post by: mandrav on September 10, 2005, 09:47:59 am
If you 're talking about the config file used by codeblocks, currently it is "~/.Code::Blocks 1.0".
This is created automatically by wxConfig (which uses the registry under windows).
But there are plans to change it:


Title: Re: linux config file
Post by: grv575 on September 10, 2005, 11:36:29 pm
OK, forgot to check for dot files.   :?

I installed with ./configure --prefix=/opt/codeblocksd --enable-debug && make && make install
run with: cd /opt/codeblocksd/bin; ./codeblocks
and get (see pic):

Code
root:/opt/codeblocksd/share/codeblocks# ls
astyle.zip           defaultmimehandler.zip  plugins            tips.txt
class_wizard.zip     icons                   plugin_wizard.zip  todo.zip
code_completion.zip  images                  resources.zip
compiler_gcc.zip     lexers                  start_here.zip
debugger_gdb.zip     manager_resources.zip   templates


[attachment deleted by admin]