distcc

bridged with qnx.development_tools
Post Reply
Jens Schmidt

distcc

Post by Jens Schmidt » Wed Jun 22, 2005 1:14 am

Hi,

is it possible to use distcc in the Momentics IDE? I am using QNX 6.3 SP1.
I got distcc compiled and installed on a few machine and it works fine
if I build a projects with "CC=distcc ./configure" and make. So far I
could not figure out how to integrate distcc into the IDE. has anyone
successfully used distcc on QNX?

Any help would be appreciate

Jens

Robert Rutherford

Re: distcc

Post by Robert Rutherford » Fri Jun 24, 2005 12:25 am

On Wed, 22 Jun 2005 11:14:29 +1000, Jens Schmidt wrote:
Hi,

is it possible to use distcc in the Momentics IDE? I am using QNX 6.3 SP1.
I got distcc compiled and installed on a few machine and it works fine
if I build a projects with "CC=distcc ./configure" and make. So far I
could not figure out how to integrate distcc into the IDE. has anyone
successfully used distcc on QNX?

Any help would be appreciate

Jens
Did you try putting a symlink to distcc in the path ahead of the 'real' CC?

We use ccache (which is by the same guys who wrote distcc) by creating
symlinks in /usr/local/bin (eg /usr/local/bin/CC -> /usr/local/bin/ccache)
and then making sure that /usr/local/bin is ahead of /usr/bin in the PATH.

By the way, we couldn't live without ccache - it takes hours off our builds
:-)

Caveat: We don't use the IDE so I have no idea if this (or something
similar) will work for the IDE.

Rob Rutherford
Ruzz Technology

Jens Schmidt

Re: distcc

Post by Jens Schmidt » Mon Jul 04, 2005 9:29 pm

Robert Rutherford wrote:
On Wed, 22 Jun 2005 11:14:29 +1000, Jens Schmidt wrote:


Hi,

is it possible to use distcc in the Momentics IDE? I am using QNX 6.3 SP1.
I got distcc compiled and installed on a few machine and it works fine
if I build a projects with "CC=distcc ./configure" and make. So far I
could not figure out how to integrate distcc into the IDE. has anyone
successfully used distcc on QNX?

Any help would be appreciate

Jens


Did you try putting a symlink to distcc in the path ahead of the 'real' CC?

We use ccache (which is by the same guys who wrote distcc) by creating
symlinks in /usr/local/bin (eg /usr/local/bin/CC -> /usr/local/bin/ccache)
and then making sure that /usr/local/bin is ahead of /usr/bin in the PATH.

By the way, we couldn't live without ccache - it takes hours off our builds
:-)

Caveat: We don't use the IDE so I have no idea if this (or something
similar) will work for the IDE.

Rob Rutherford
Ruzz Technology
I have tried your succession to add a symlink and modify the path.
Unfortunately it didn't work.
I keep trying.

Thanks Rob

Jens

Post Reply

Return to “qnx.development_tools”