[distcc] ARM (ADS) Complier - Help is needed

Uri Shkolnik uris at dsp.co.il
Sun Jan 30 13:15:18 GMT 2005


Hi,

I would like to ask for help regarding porting DistCC to work with another
compiler. (P.S. - I'm newbie to DistCC)
The environment is DistCC 2.18.3 / Cygwin 1.5.12-1.

1) I built DistCC and it runs fine on my Win32 based PC. I neglected
"localhost" and use the loop address (127.0.0.1) only.
2) I use the following setting:
                export DISTCC_VERBOSE=1
                export DISTCC_LOG=~/distcc/sys/DistCC.log
                export TMPDIR=~/distcc/tmp
3) I run it with gcc successfully.
4) I'm trying to run it by using the command:       $ distcc tcc hello.c
(tcc is the desired compiler)

4.1) and I get the log:
===============================================================
distcc[1092] (dcc_trace_version) distcc 2.18.3 i686-pc-cygwin; built Jan 30
2005 12:50:12
distcc[1092] (dcc_recursion_safeguard) safeguard level=0
distcc[1092] (main) compiler name is "distcc"
distcc[1092] (dcc_scan_args) scanning arguments: tcc hello.c
distcc[1092] (dcc_scan_args) found input file "hello.c"
distcc[1092] (dcc_scan_args) compiler apparently called not for compile
distcc[1092] (dcc_lock_host) got cpu lock on localhost slot 0 as fd4
distcc[1092] exec on localhost: tcc hello.c
distcc[1092] (dcc_note_state) note state 5, file "hello.c", host "localhost"
distcc[1092] (dcc_spawn_child) forking to execute: tcc hello.c
distcc[1092] (dcc_spawn_child) child started as pid2148
: _DISTCC_SAFEGUARD=1
distcc[1092] (dcc_collect_child) cc child 2148 terminated with status 0
distcc[1092] (dcc_collect_child) cc times: user 0.015000s, system 0.000000s,
0 minflt, 429 majflt
distcc[1092] compile hello.c on localhost completed ok
distcc[1092] elapsed compilation time 0.229000s
distcc[1092] (dcc_exit) exit: code 0; self: 0.015000 user 0.015000 sys;
children: 0.015000 user 0.000000 sys
distcc[1092] (dcc_cleanup_tempfiles) deleted 0 temporary files

===============================================================



now....

where do I declare the tcc as a "valid" compiler? (Log: "compiler apparently
called not for compile")
what else should I change?




------

Uri Shkolnik

DSP Group

Tel: +972-9-9529-641
Fax: +972-9-9541234
www.dspg.com





More information about the distcc mailing list