distcc should follow the system path looking for GCC. If the path is set for 3.2 to be found by default (aka gcc --version shows the compiler you want), distcc gcc should work. What looks like it seems to be a bug in your makefile. Are you using a homebrew makefile, or autoconf/cmake/scons/etc?
Michael

On Jan 29, 2007, at 11:55 PM, dave woo wrote:

Hi guys,

I have installed the distcc properly, and I havea simple makefile with two simple .cpp file that uses the default g++ compiler under the system path. I use the "make -j2 CXX=distcc" method to compile. This works fine.

However, for my actual working project, I am using an older version of g++ compiler installed at specific location, ie, /home/local/ gcc-3.2.2/bin/g++. I have set up the ~/.distcc/hosts file with one single entry of 127.0.0.1, so its simply running locally. I also set the system path to include "/home/local /home/local/gcc-3.2.2F/ bin/" as the first path to be searched. Even though I thought this should not be necessary because I am using the absolute path to call the desired g++. Anyways, when I try "make -j2 CXX='distcc / home/local/gcc-3.2.2/bin/g++', and examine the actual command actually run by the makefile, I get "/home/local/distcc/bin/distcc / home/local /home/local/gcc-3.2.2F/bin/g++ -CXXFLAGS filenames.cpp". Then the error is that the extra "/home/local" can not be found! where does this extra "/home/local" come from? So of course compilation fails.
Any ideas guys?

Thanks in advance!

Dave.






______________________________________________________________________ ______________
Sucker-punch spam with award-winning protection.
Try the free Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/features_spam.html
__
distcc mailing list            http://distcc.samba.org/
To unsubscribe or change options:
https://lists.samba.org/mailman/listinfo/distcc

__ distcc mailing list http://distcc.samba.org/ To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/distcc

Reply via email to