Subject: Re: [Boost-build] distcc and local linking issues
From: Vladimir Prus (ghost_at_[hidden])
Date: 2009-02-05 01:57:12
On Thursday 05 February 2009 03:19:56 Dean Michael Berris wrote:
> Hi Guys,
> I've tried using distcc in place of the gcc compiler and I keep
> finding this linking error.
Which linking error?
> I understand that linking is done locally
> from where I'm building the executables, but are there any caveats
> that I should be looking out for?
> I'm running the build in a virtual box running Ubuntu 8.10 (32-bit)
> and another desktop running distcc with Ubuntu 8.04 (64-bit) having
> the same compiler run with -m32 (to ensure 32-bit builds).
> My user-config.jam looks like this:
> using gcc : 4.2 : distcc : <cxxflags>-m32 ;
> Am I doing anything wrong?
You probably need <linkflags>-m32 as well, though it's a blue-sky guess. If that
does not help, I would recommend simplifying your testcase as much as possible,
and see if building with distcc directly works -- I did not ever try this 32/64-bit
distcc setup. You might also want to try icecream -- which might do something different
in such mixed environment.
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk