Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: Sorcerer on February 04, 2006, 09:58:39 am
-
Hello, i tried to use distcc with Codeblocks and I find no way to get it work.
I like to use the managed Projects and because of that i don't no how to
set the number of jobs distcc should use. (the -j parameter of make)
So my Question is: Is it possible to use distcc with CB's managed Projects?
If yes: How?
-
Has anyone successfully done this? I can see the benefit since my development is on a laptop, but I have a whole host of servers laying around doing nothing....
-
Take a look at this recent topic (http://forums.codeblocks.org/index.php?topic=4806.0). It's about ccache but the concept remains the same...
-
Wouldn't it be cleaner to create a new Compiler profile (such as "MinGW with DistCC") that uses distcc?
-
Wouldn't it be cleaner to create a new Compiler profile (such as "MinGW with DistCC") that uses distcc?
Sure. Make a copy of the MinGW compiler, create the batch file(s) as proposed in the other thread and setup the programs accordingly. Can be done in less than a minute... ;-)
With regards, Morten.
-
Of course, that is assuming there is a distcc port to MinGW ;) As far as I know, distcc needs some hacking to work there...
-
I think that is a good short-term solution. But I'd really like to see a "Distributed Compiling" option - sort of along the lines of what Xcode has (and Xcode uses a patched distcc to do this).