User forums > Using Code::Blocks
ubuntu C::B questions
Game_Ender:
With any hope you shouldn't have to do a full rebuild every time, make is smart enough to work out the dependencies and only rebuild what is needed based on file changes. I would also stick with make when building codeblocks (if your are working on CB itself its obviously better to use CB to build itself), especially if you aren't doing a full rebuild. Make is currently the fastest build system and I doubt that codeblocks custom system is any faster. I will test this though. Currently when I do a full rebuild I do the following:
--- Code: ---# Gets rid of all created files
make distclean
svn up
# These two are just to make sure I catch any changes to these files
./bootstrap
./configure --prefix=/home/myusername/Apps/codeblocks-svn
make
make install
--- End code ---
I have never had to "make uninstall", make just overwrites the old files in my home directory.
Michael:
--- Quote from: Game_Ender on March 05, 2006, 01:24:22 am ---
--- Code: ---# Gets rid of all created files
make distclean
svn up
# These two are just to make sure I catch any changes to these files
./bootstrap
./configure --prefix=/home/myusername/Apps/codeblocks-svn
make
make install
--- End code ---
--- End quote ---
Thank you for your help and explanations :). I will give it a try.
Best wishes,
Michael
takeshimiya:
--- Quote from: Game_Ender on March 05, 2006, 01:24:22 am ---I will test this though.
--- End quote ---
If you're going to test it, just make sure to disable all plugins except the Compiler plugin (CodeCompletion esp. is known to make the build slower).
Or test both cases.
mandrav:
--- Quote from: Game_Ender on March 05, 2006, 01:24:22 am ---Make is currently the fastest build system and I doubt that codeblocks custom system is any faster.
--- End quote ---
I would doubt that, but feel free to test it and share your findings with us :)
Game_Ender:
--- Quote from: mandrav on March 05, 2006, 08:50:57 am ---I would doubt that, but feel free to test it and share your findings with us :)
--- End quote ---
Will do, but please see reviews of other build systems here and here. By presuming that CB build system is slower than make I am not trying to insult codeblocks. I am just saying that make is currently faster than almost everything else and its a much more mature product and there more likely to be better optimized.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version