LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   distcc question (https://www.linuxquestions.org/questions/slackware-14/distcc-question-314957/)

xushi 04-19-2005 12:49 PM

distcc question
 
I'm giving distcc a try on a very old machine. I had to uninstall the C compiler on it because i was very low on space. I want to use distcc instead..

I installed distcc, and tried to compile BitchX as my test program, but i get this error

Code:

root@xushiold:/download/BitchX# ./configure
Welcome to the BitchX-1.1-final configuration

checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
root@xushiold:/download/BitchX#

How can i tell the system to use distcc as my C compiler? Or do i really need gcc installed for this to work?

And on an unrelated side note.. is it just me, or is it checking for cc twice? :p

gbonvehi 04-19-2005 01:07 PM

From distcc's docs
Quote:

distcc only ever runs the compiler and assembler remotely. The preprocessor must always run locally because it needs to access various header files on the local machine which may not be present, or may not be the same, on the volunteer. The linker similarly needs to examine libraries and object files, and so must run locally.
It seems you need the tools on the local machine too :(

You can try to build it using http://fabrice.bellard.free.fr/tcc/ or simply compiling it in other machine and copying the binary file.

xushi 04-19-2005 01:10 PM

Damn it.. does that mean i have to install every one of

[ description | file list ] /d/gcc-3.3.5-i486-1
[ description | file list ] /d/gcc-g++-3.3.5-i486-1
[ description | file list ] /d/gcc-g77-3.3.5-i486-1
[ description | file list ] /d/gcc-gnat-3.3.5-i486-1
[ description | file list ] /d/gcc-java-3.3.5-i486-1
[ description | file list ] /d/gcc-objc-3.3.5-i486-1

EDIT, i doubt i'll need g77 and gnat

gbonvehi 04-19-2005 01:13 PM

No, g++ = c++
g77 = fortran
gnat = ada
java = java :)
objc = objetive c
if you plan to compile C you can avoid those

xushi 04-19-2005 01:18 PM

Thanks.

Distributed Compiling, here i come :) First BitchX, then Linux-2.6.11.7


All times are GMT -5. The time now is 03:36 PM.