Subject: Re: Possible solution for package compiles
To: Claudio Leite <port-mac68k@netbsd.org>
From: Joshua Coombs <jcoombs@gwi.net>
List: port-mac68k
Date: 06/10/2004 22:29:15
Give me instructions and I'll setup a 68k / x86 combo that should be
up to the task.

Josh C
----- Original Message ----- 
From: "Claudio Leite" <leitec@leitec.org>
To: <port-mac68k@netbsd.org>
Sent: Thursday, June 10, 2004 8:52 PM
Subject: Possible solution for package compiles


>
> Hello again,
>
>  I got the idea yesterday to set up a cross-compile environment on
my Linux
> machine (an old PII 300mhz laptop) for m68k-netbsdelf and use
distcc to
> off-load the compiling tasks from my mac68k box.
>
> Here are some results from compiling my library "imcomm", which
has some nasty
> code.
>
> % time make CC=distcc
> <snip>
> 32.7u 8.6s 1:20.13 51.6% 0+0k 27+87io 103pf+0w
>
> % time make CC=gcc
> <snip>
> 108.6u 10.2s 2:15.86 87.5% 0+0k 2+102io 62pf+0w
>
> Tomorrow I'll set up my P4 machine, too, and make a
howto/walkthrough. With
> two machines (including a much faster one, the P4) doing compiles,
I should be
> able to get some speedy compiles. FYI, as far as I know, distcc
does
> pre-processing and linking on the host machine and offloads only
the actual
> compilation part, so libraries and header files do not need to be
present on
> the cross-compiler. I had to copy /usr/include, libc.* and crt*.o
from my Mac
> to get gcc to compile, nothing more.
>
> Unfortunately I do not have enough space to untar pkgsrc. Is
anyone up for
> trying this? This could really help with pkgsrc building.
>
> distcc: http://distcc.samba.org/
>
> -Claudio
> -- 
> Claudio Leite
> - http://leitec.org/
> - http://staticky.com/
>
>