Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

Compile N files at once

(1/5) > >>

Ceniza:
I'm currently compiling the latest CVS HEAD version of Code::Blocks and I see it's only using 50% to 70% of the CPU when it could be using 100% (so it would compile faster). Using make you could use -j# (like -j3) to compile 3 files at once but I couldn't find where to add that option either.

Have you ever considered this option?

rickg22:
I usually get 100% CPU usage from GCC when compiling...

thomas:

--- Quote from: rickg22 on August 10, 2005, 08:16:10 pm ---I usually get 100% CPU usage from GCC when compiling...

--- End quote ---
Second that. Also, parallel compilation will have to deal with dependencies.

Ceniza:
The problem here is that GCC mainly uses only 1 of the CPUs (HT) so I want it to use 100% :)

rickg22:
You could generate a makefile, open two command prompts, and compile different targets on each.

Navigation

[0] Message Index

[#] Next page

Go to full version