On Wed, Feb 26, 2014 at 11:55 AM, yudhistir reddy <yudhistir.re...@gmail.com > wrote:
> Hi Fergus, > > Thanks for reply . I am invoking the DISTCC as below . In my build system > file i mentioned as below > > if ${WITH_DISTCC} == "yes" > CC ?= ${DISTCC} ${PATH TO GCC}gcc > .else > CC ?= ${PATH TO GCC}gcc > endif > > where DISTCC points to a location it is installed . So just exploring how > it is compiling with DISTCC and without DISTCC . > > build command is like "mk <target name> WITH_DISTCC=yes" . > > sample command line : > <path/to/distcc>/3.1/bin/distcc <path/to/compiler>/mips64-gcc <command > line arguments> > Exactly what <command line arguments> are you passing in the cases when distcc fails? Which part of your build system is generating those '-G0' flags? Which part of your build system is generating those '-o' and '-c'/'-S' flags? > > > Regards > Yudhistir > > > > > On Tue, Feb 25, 2014 at 10:48 PM, Fergus Henderson <fer...@google.com>wrote: > >> How exactly are you invoking distcc? >> On 25 Feb 2014 13:02, "yudhistir reddy" <yudhistir.re...@gmail.com> >> wrote: >> >>> Hi, >>> >>> I am new to DISTCC . I feel its great tool . I am just started exploring >>> it . >>> >>> DISTCC used : distcc/3.1 version . >>> >>> I am compiling source code on Linux (Ubuntu) machine . Distcc is >>> complaining for below errors >>> >>> Issue 1 : >>> cc: error: unrecognized option '-G0' >>> >>> Compiler tool chain is for powerpc . This is happening for other machine >>> arch also . >>> >>> Just for info about -G0 option . >>> "-G num >>> Put definitions of externally-visible data in a small data section >>> if that data is no bigger than num bytes. GCC can then generate more >>> efficient accesses to the data; see -mgpopt for details. >>> >>> The default -G option depends on the configuration." >>> >>> If i donot use DISTCC then i donot see this error from compiler . I am >>> using gcc 4.2.1 compiler . >>> >>> >>> >>> Issue 2: >>> >>> gcc: cannot specify -o with -c or -S with multiple files . >>> >>> I am getting this errror while generating the .bin for with mips64 >>> compiler . >>> I donot see this error without DISTCC . >>> >>> >>> Can you pls help me . Any help on this would be much appreciated . >>> >>> >>> Regards >>> Yudhistir >>> >>> >>> >>> >>> >>> >>> __ >>> distcc mailing list http://distcc.samba.org/ >>> To unsubscribe or change options: >>> https://lists.samba.org/mailman/listinfo/distcc >>> >> > -- Fergus Henderson <fer...@google.com> "Defend the user, exclude no one, and create magic." -- Eric Schmidt.
__ distcc mailing list http://distcc.samba.org/ To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/distcc