<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.5880" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=109475102-02122009><FONT face=Arial color=#0000ff>Ok, thanks
for you kind reply. I have already solved this problem. Thanks
anyway.</FONT></SPAN></DIV>
<DIV><SPAN class=109475102-02122009><FONT face=Arial
color=#0000ff></FONT></SPAN> </DIV>
<DIV><SPAN class=109475102-02122009><FONT face=Arial
color=#0000ff></FONT></SPAN> </DIV>
<DIV><SPAN class=109475102-02122009><FONT face=Arial color=#0000ff>Best
regards</FONT></SPAN></DIV>
<DIV><SPAN class=109475102-02122009><FONT face=Arial
color=#0000ff>Kevin</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> ext Fergus Henderson
[mailto:fergus@google.com] <BR><B>Sent:</B> Wednesday, December 02, 2009 7:27
AM<BR><B>To:</B> Zhang, Kevin W. (NSN - CN/Hangzhou)<BR><B>Cc:</B>
distcc@lists.samba.org<BR><B>Subject:</B> Re: [distcc] Hi, I report one error
information DISTCC made in CYGWIN and used to compile in windriver
platform<BR></FONT><BR></DIV>
<DIV></DIV>Try setting DISTCC_VERBOSE=1... that should give some more
clues.<BR><BR>
<DIV class=gmail_quote>On Wed, Sep 16, 2009 at 6:03 AM, Zhang, Kevin W. (NSN -
CN/Hangzhou) <SPAN dir=ltr><<A
href="mailto:kevin.w.zhang@nsn.com">kevin.w.zhang@nsn.com</A>></SPAN>
wrote:<BR>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV>
<P><FONT face=Arial color=#0000ff>Hi, dear distcc experts:</FONT> </P><BR>
<P><FONT face=Arial color=#0000ff>How are you? dear all. Sorry to trouble
you. I have one question to report to you and pls give me some advice
about this. I'm now using distcc to try to build my source codes in windriver
platform. My operating system is WINDOWS 2003 server. I use CYGWIN
1.7beta to make distcc source code<SPAN lang=en-us>. Distcc version is
3.1(both client and server). Its downloading page is here:</SPAN></FONT></P>
<P><SPAN lang=en-us></SPAN><A
href="http://code.google.com/p/distcc/downloads/list" target=_blank><SPAN
lang=en-us><U></U><U><FONT face=Simsun
color=#0000ff>http://code.google.com/p/distcc/downloads/list</FONT></U></SPAN></A><SPAN
lang=en-us></SPAN><SPAN lang=en-us></SPAN><SPAN lang=en-us></SPAN><SPAN
lang=en-us><FONT face=Simsun> </FONT></SPAN><BR><SPAN lang=en-us><FONT
face=Arial color=#0000ff>Name is distcc-3.1.tar.bz2</FONT></SPAN> </P>
<P><SPAN lang=en-us><FONT face=Arial color=#0000ff>Following the distcc
installation guide, firstly I use make.exe in cygwin to create distcc.exe,
distccd.exe and distccmon-text.exe etc. executable files. Now I am
working in windriver vxworks-6.7 version environment. To set client
environment in WINDOWS system.</FONT></SPAN></P>
<P><SPAN lang=en-us><FONT face=Arial
color=#0000ff>DISTCC_HOSTS=127.0.0.1</FONT></SPAN> <BR><SPAN lang=en-us><FONT
face=Arial color=#0000ff>DISTCC_DIR=c:\apps\distcc\distcc_dir</FONT></SPAN>
<BR><SPAN lang=en-us><FONT face=Arial
color=#0000ff>TMPDIR=c:\apps\distcc\distcc_tmp_dir</FONT></SPAN> </P>
<P><SPAN lang=en-us><FONT face=Arial color=#0000ff>run distccd in the same
machine</FONT></SPAN> <BR><SPAN lang=en-us><FONT face=Arial color=#0000ff>set
DISTCC_BIN=C:\APPS\distcc</FONT></SPAN> <BR><SPAN lang=en-us><FONT face=Arial
color=#0000ff>set DISTCC_DIR=C:\APPS\distcc\distcc_dir</FONT></SPAN> <BR><SPAN
lang=en-us><FONT face=Arial color=#0000ff>set
TMPDIR=%DISTCC_BIN%\distcc_tmp_dir</FONT></SPAN> <BR><SPAN lang=en-us><FONT
face=Arial color=#0000ff>distccd --allow <A href="http://10.0.0.1/8"
target=_blank>10.0.0.1/8</A> --port 3699 --daemon --no-detach
--log-file=%DISTCC_BIN%/distccd_vx67.log --nice 6 --verbose</FONT></SPAN> </P>
<P><SPAN lang=en-us><FONT face=Arial color=#0000ff>Then in client I input this
command:</FONT></SPAN> <BR><SPAN lang=en-us><FONT face=Arial
color=#0000ff>make CPU=SIMNU TOOL=gnu CC="distcc cc$(TOOLENV)"
-j2</FONT></SPAN> </P>
<P><SPAN lang=en-us><FONT face=Arial color=#0000ff>note: CPU, TOOL and CC is
MARCO</FONT></SPAN><SPAN lang=en-us> <FONT face=Arial color=#0000ff>of
vxworks-6.7. It has the nearly same effect as </FONT></SPAN><BR><SPAN
lang=en-us><FONT face=Arial color=#0000ff>make -j2 CC=distcc</FONT></SPAN>
</P>
<P><SPAN lang=en-us><FONT face=Arial color=#0000ff>So error information popups
like this following, which tells me ccpentium.exe compiler(a transplanting
compiler of gcc in windriver platform) no input file. The precompilation
process failed to pass. Don't mention sending preprocess results to remote
machine. I think it's possibly caused by these two lines</FONT></SPAN></P>
<P><SPAN lang=en-us><FONT face=Tahoma color=#000000 size=1>distcc ccpentium
-mtune=i486 -march=i486 -ansi -O2 -nostdlib -fno-builtin -fno-defer-pop
-Wall -IC:/APPS/WindRiver/vxworks-6.7/target/h
-IC:/APPS/WindRiver/vxworks-6.7/target/h/wrn/coreip -DCPU=SIMNT
-DTOOL_FAMILY=gnu -DTOOL=gnu -D_WRS_KERNEL -DINET
-D_WRS_LIB_BUILD -I.
-D_VSB_CONFIG_FILE=\"D:/Workspace/kevin/vsb_test/h/config/vsbConfig.h\"
-fno-zero-initialized-in-bss -MD -c -o
D:/Workspace/kevin/vsb_test/simpc/SIMNT/common/objaim/aimMmuShow.o
aimMmuShow.c</FONT></SPAN></P>
<P><SPAN lang=en-us><FONT face=Arial color=#0000ff>I don't know what's the
reason for? I have a look at FAQ of distcc. I notice -MD may not work rightly
by compiler gcc 3.0 or later. Detailed information is as </FONT></SPAN></P>
<P><SPAN lang=en-us></SPAN><A href="http://distcc.samba.org/faq.html"
target=_blank><SPAN lang=en-us><U></U><U><FONT face=Simsun
color=#0000ff>http://distcc.samba.org/faq.html</FONT></U></SPAN></A><SPAN
lang=en-us><FONT face=Simsun> </FONT></SPAN><BR><B><SPAN lang=zh-cn><FONT
face=Simsun size=4>Problems with</FONT></SPAN><SPAN lang=en-us><FONT
face=Arial size=4> </FONT><FONT face=Simsun size=4>gcc
-MD</FONT></SPAN></B> <BR><SPAN lang=en-us><FONT face=Arial
color=#0000ff> So I don't know if it's the root cause. Because it's
difficult to modify windriver makefile to replace -MD with -MF, I can't verify
if my idear is right. The gcc version of Windriver is using is 4.1.2. So
it's later of 3.0.</FONT></SPAN></P>
<P><SPAN lang=en-us><FONT face=Arial color=#0000ff>Another reason I doubt the
command line length is a little long. So distcc only intercept front part of
options and .c file name at the end is lost. So it tells me no input
file. </FONT></SPAN></P>
<P><SPAN lang=en-us><FONT face=Arial color=#0000ff>So what's the definite
reason for this strange thing. I remove distcc prefix, then everything is OK.
Compilation is no problem.</FONT></SPAN><SPAN
lang=en-us><B></B><B></B></SPAN><B><SPAN lang=zh-cn></SPAN></B></P><BR>
<P><B><SPAN lang=en-us><FONT face=Tahoma color=#000000 size=1>Build Started in
Project 'vsb_test': 2009-09-16 18:24:28</FONT></SPAN></B><SPAN
lang=en-us></SPAN> <BR><SPAN lang=en-us><B><FONT face=Tahoma color=#1e5ac8
size=1>Platform: Wind River VxWorks 6.7</FONT></B></SPAN> <BR><SPAN
lang=en-us><B><FONT face=Tahoma color=#1e5ac8 size=1>Command: make "CC=distcc
cc$(TOOLENV)"</FONT></B></SPAN> <BR><SPAN lang=en-us><B><FONT face=Tahoma
color=#1e5ac8 size=1>Working Directory:
D:/Workspace/kevin/vsb_test</FONT></B></SPAN> <BR><SPAN lang=en-us><FONT
face=Tahoma color=#000000 size=1>cd C:/APPS/WindRiver/vxworks-6.7/target/src
&& C:/APPS/WindRiver/utilities-1.0/x86-win32/bin/make.exe CPU=SIMNT
TOOL=gnu _VSB_CONFIG_ADDEDCFLAGS= _WRS_CONFIG_APP_TOOL=gnu
VSB_DIR=D:/Workspace/kevin/vsb_test BSPNAME=simpc
_WRS_CONFIG_FP=hard ADDED_CFLAGS+=-I.
DUAL_BUILD=false</FONT></SPAN></P>
<P><SPAN lang=en-us><FONT face=Tahoma color=#000000 size=1>make.exe[1]:
Entering directory `C:/APPS/WindRiver/vxworks-6.7/target/src'</FONT></SPAN>
<BR><SPAN lang=en-us><FONT face=Tahoma color=#000000 size=1>mkdir -p
D:/Workspace/kevin/vsb_test/simpc/SIMNT/common/obj</FONT></SPAN> <BR><SPAN
lang=en-us><FONT face=Tahoma color=#000000 size=1>cd arch &&
C:/APPS/WindRiver/utilities-1.0/x86-win32/bin/make.exe CPU=SIMNT TOOL=gnu
_WRS_CONFIG_FP=hard</FONT> </SPAN><BR><SPAN lang=en-us><FONT face=Tahoma
color=#000000 size=1>make.exe[2]: Entering directory
`C:/APPS/WindRiver/vxworks-6.7/target/src/arch'</FONT></SPAN> <BR><SPAN
lang=en-us><FONT face=Tahoma color=#000000 size=1>mkdir -p
D:/Workspace/kevin/vsb_test/simpc/SIMNT/common/obj</FONT></SPAN> <BR><SPAN
lang=en-us><FONT face=Tahoma color=#000000 size=1>cd simnt &&
C:/APPS/WindRiver/utilities-1.0/x86-win32/bin/make.exe CPU=SIMNT TOOL=gnu
_WRS_CONFIG_FP=hard</FONT> </SPAN><BR><SPAN lang=en-us><FONT face=Tahoma
color=#000000 size=1>make.exe[3]: Entering directory
`C:/APPS/WindRiver/vxworks-6.7/target/src/arch/simnt'</FONT></SPAN> <BR><SPAN
lang=en-us><FONT face=Tahoma color=#000000 size=1>mkdir -p
D:/Workspace/kevin/vsb_test/simpc/SIMNT/common/objarch</FONT></SPAN> <BR><SPAN
lang=en-us><FONT face=Tahoma color=#000000 size=1>updating
D:/Workspace/kevin/vsb_test/simpc/SIMNT/common/libarch.a</FONT></SPAN>
<BR><SPAN lang=en-us><FONT face=Tahoma color=#000000 size=1>cd math &&
C:/APPS/WindRiver/utilities-1.0/x86-win32/bin/make.exe CPU=SIMNT TOOL=gnu
_WRS_CONFIG_FP=hard</FONT> </SPAN><BR><SPAN lang=en-us><FONT face=Tahoma
color=#000000 size=1>make.exe[4]: Entering directory
`C:/APPS/WindRiver/vxworks-6.7/target/src/arch/simnt/math'</FONT></SPAN>
<BR><SPAN lang=en-us><FONT face=Tahoma color=#000000 size=1>mkdir -p
D:/Workspace/kevin/vsb_test/simpc/SIMNT/common/objarch</FONT></SPAN> <BR><SPAN
lang=en-us><FONT face=Tahoma color=#000000 size=1>updating
D:/Workspace/kevin/vsb_test/simpc/SIMNT/common/libarch.a</FONT></SPAN>
<BR><SPAN lang=en-us><FONT face=Tahoma color=#000000 size=1>make.exe[4]:
Leaving directory
`C:/APPS/WindRiver/vxworks-6.7/target/src/arch/simnt/math'</FONT></SPAN>
<BR><SPAN lang=en-us><FONT face=Tahoma color=#000000 size=1>make.exe[3]:
Leaving directory
`C:/APPS/WindRiver/vxworks-6.7/target/src/arch/simnt'</FONT></SPAN> <BR><SPAN
lang=en-us><FONT face=Tahoma color=#000000 size=1>cd doc &&
C:/APPS/WindRiver/utilities-1.0/x86-win32/bin/make.exe CPU=SIMNT TOOL=gnu
_WRS_CONFIG_FP=hard</FONT> </SPAN><BR><SPAN lang=en-us><FONT face=Tahoma
color=#000000 size=1>make.exe[3]: Entering directory
`C:/APPS/WindRiver/vxworks-6.7/target/src/arch/doc'</FONT></SPAN> <BR><SPAN
lang=en-us><FONT face=Tahoma color=#000000 size=1>mkdir -p
D:/Workspace/kevin/vsb_test/simpc/SIMNT/common/obj</FONT></SPAN> <BR><SPAN
lang=en-us><FONT face=Tahoma color=#000000 size=1>make.exe[3]: Leaving
directory `C:/APPS/WindRiver/vxworks-6.7/target/src/arch/doc'</FONT></SPAN>
<BR><SPAN lang=en-us><FONT face=Tahoma color=#000000 size=1>make.exe[2]:
Leaving directory
`C:/APPS/WindRiver/vxworks-6.7/target/src/arch'</FONT></SPAN> <BR><SPAN
lang=en-us><FONT face=Tahoma color=#000000 size=1>cd aim &&
C:/APPS/WindRiver/utilities-1.0/x86-win32/bin/make.exe CPU=SIMNT TOOL=gnu
_WRS_CONFIG_FP=hard</FONT> </SPAN><BR><SPAN lang=en-us><FONT face=Tahoma
color=#000000 size=1>make.exe[2]: Entering directory
`C:/APPS/WindRiver/vxworks-6.7/target/src/aim'</FONT></SPAN> <BR><SPAN
lang=en-us><FONT face=Tahoma color=#000000 size=1>mkdir -p
D:/Workspace/kevin/vsb_test/simpc/SIMNT/common/objaim</FONT></SPAN> <BR><SPAN
lang=en-us><FONT face=Tahoma color=#000000 size=1>distcc ccpentium -mtune=i486
-march=i486 -ansi -O2 -nostdlib -fno-builtin -fno-defer-pop -Wall
-IC:/APPS/WindRiver/vxworks-6.7/target/h
-IC:/APPS/WindRiver/vxworks-6.7/target/h/wrn/coreip -DCPU=SIMNT
-DTOOL_FAMILY=gnu -DTOOL=gnu -D_WRS_KERNEL -DINET
-D_WRS_LIB_BUILD -I.
-D_VSB_CONFIG_FILE=\"D:/Workspace/kevin/vsb_test/h/config/vsbConfig.h\"
-fno-zero-initialized-in-bss -MD -c -o
D:/Workspace/kevin/vsb_test/simpc/SIMNT/common/objaim/aimMmuShow.o
aimMmuShow.c</FONT></SPAN></P>
<P><SPAN lang=en-us><FONT face=Tahoma color=#c80000 size=1>ccpentium.exe: no
input files</FONT></SPAN> <BR><SPAN lang=en-us><FONT face=Tahoma color=#c80000
size=1>distcc[668] ERROR: compile (null) on localhost failed</FONT></SPAN>
<BR><SPAN lang=en-us><FONT face=Tahoma color=#c80000 size=1>make.exe[2]: ***
[D:/Workspace/kevin/vsb_test/simpc/SIMNT/common/objaim/aimMmuShow.o] Error
1</FONT></SPAN> <BR><SPAN lang=en-us><FONT face=Tahoma color=#000000
size=1>make.exe[2]: Leaving directory
`C:/APPS/WindRiver/vxworks-6.7/target/src/aim'</FONT></SPAN> <BR><SPAN
lang=en-us><FONT face=Tahoma color=#c80000 size=1>make.exe[1]: *** [aim] Error
2</FONT></SPAN> <BR><SPAN lang=en-us><FONT face=Tahoma color=#000000
size=1>make.exe[1]: Leaving directory
`C:/APPS/WindRiver/vxworks-6.7/target/src'</FONT></SPAN> <BR><SPAN
lang=en-us><FONT face=Tahoma color=#c80000
size=1>C:\APPS\WindRiver\utilities-1.0\x86-win32\bin\make.exe: ***
[_target_gnuSIMNT_fooC_/APPS/WindRiver/vxworks-6.7/target/src] Error
2</FONT></SPAN></P>
<P><SPAN lang=en-us><B><FONT face=Tahoma color=#c80000 size=1>Build Failed in
Project 'vsb_test' (Process Exit Value was 2): 2009-09-16
18:24:29 (Elapsed Time: 00:01)</FONT></B></SPAN> </P><BR><BR><BR>
<P><SPAN lang=en-us><B><FONT face=Arial color=#0000ff>Best
regards</FONT></B></SPAN> <BR><SPAN lang=en-us><B><FONT face=Arial
color=#0000ff>Kevin in NSN</FONT></B></SPAN> </P></DIV><BR>__<BR>distcc
mailing list <A
href="http://distcc.samba.org/"
target=_blank>http://distcc.samba.org/</A><BR>To unsubscribe or change
options:<BR><A href="https://lists.samba.org/mailman/listinfo/distcc"
target=_blank>https://lists.samba.org/mailman/listinfo/distcc</A><BR></BLOCKQUOTE></DIV><BR><BR
clear=all><BR>-- <BR>Fergus Henderson <<A
href="mailto:fergus@google.com">fergus@google.com</A>><BR></BODY></HTML>