[distcc] Re: Using distcc for other tasks (distributed "filtering")

Martin Pool mbp at samba.org
Mon Feb 16 02:28:11 GMT 2004


On 15 Feb 2004, Alexandre Oliva <oliva at lsd.ic.unicamp.br> wrote:
> On Feb 15, 2004, Christian Leber <christian at leber.de> wrote:
> 
> > Exactly, i have about 30000 pieces, my problem is that i don't know how
> > to get distcc to pipe it through the gzip(*) on the remote boxes.
> 
> You'll probably have to create a wrapper program/script that ``looks''
> like a compiler in that it takes a preprocessed source file and
> outputs an object file.  Then create a Makefile that splits the big
> input into multiple ``source'' files, ``compiles'' (== gzip) them all,
> then ``links'' (== cat) the resulting object files into the compressed
> image.  Yuck!  But it might even work! :-)

Right, you could.  But would it be easier than a little shell script?

You could also lift all the gcc-specific code into a separate module
on top of a generic distanything, but I'm not sure there are enough
important applications to make it worthwhile.

You might look at distmp3 for ideas.

-- 
Martin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.samba.org/archive/distcc/attachments/20040216/0cb07661/attachment.bin


More information about the distcc mailing list