[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: KDE CVS: libtool and distcc anyone?
From:       James Michael Greenhalgh <jgreenhalgh () opendoorsoftware ! com>
Date:       2003-07-11 19:55:35
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On July 11, 2003 15:34, Friedrich W. H. Kossebau wrote:
> Hi,
>
> trying to compile my first KDE CVS since KDE 1 days I found out that using
> the same computer I used then (K6 233 MHz) may take me days nowadays. So I
> remembered that distributing compiling tool distcc to use the other
> computer next door (800 MHz, better than nothing ;).
>
> Compiling Qt ran fine and quickly (relatively), but when it came to KDE, it
> broke when doing the libtool-based linking. Doing the same command manually
> and substituting distcc with g++ did work nicely, though.
>
> Does anyone have more insight or experience with this?
> (posting to kde-devel because I think this is in fact kde devel related)
>
Hi Friedrich,

I use both ccache and distcc to do my compiling for me in my little 8 machine 
farm of varying hardware.  The way I do it, and it's always worked great for 
me with KDE is this:

My g++ links to a simple bash script (don't forget to make it executable).

/usr/bin/g++ -> /usr/bin/ccache-distcc-g++-3.3.sh

ccache-distcc-g++-3.3.sh looks like this:

#!/bin/bash
ccache distcc g++-3.3 $@

g++-3.3 is of course the real binary.

I did the same for gcc and cpp. 

Hope that helps,
James


- -- 
James Michael Greenhalgh
jgreenhalgh@opendoorsoftware.com
https://opendoorsoftware.com
open minds providing open source solutions
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/DxY3gZMynI5GLOURAu4UAKCWnelkHb6J/uvMEGeq+8b+AoVzuACgkdOW
SWwvsxqMTrt+XUEvmFxsFMY=
=ITjT
-----END PGP SIGNATURE-----
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic