Re: First package build with aranym+distcc+crossgcc
On Mon, Oct 30, 2006 at 09:33:40PM +0000, Bill Allombert wrote:
> On Sun, Oct 22, 2006 at 02:31:15AM +0200, Wouter Verhelst wrote:
> > Also, I'm hoping your crosscompiler is generated from the Debian source
> > package, not from anything else; if it wasn't, we get a distribution
> > that can't be reproduced by someone just looking at what's in Debian.
> > That would be a bug.
>
> This is moot since this was built as an experiment and not uploaded.
> However, I built the cross-compiler from the instruction in the file
> debian/README.cross in the debian gcc-4.1 source package, so anybody
> can recreate the cross-compiler from the Debian source.
I have been using a gcc-3.3 cross-compiler for a long time to build the m68k
kernels, since I do not want to wait a week for the build to complete.
Chances are fairly high, that the kernel you are running on your m68k boxes
was cross-compiled. I switched from crosstool to the debian sources
recently, these packages are neatly integrated into the debian system, plus
I can have several compilers installed concurrently, which is difficult with
crosstool and impossible with toolchain-source.
Yesterday I cross-compiled one of my packages with gcc-4.1, also built from
debian sources. I tested the binary, and uploaded it. I am not sure if this
was actually faster than native building, but there was a regular buildd
running in the background. If you find that package, and can show me a
difference to a natively compiled package, I'll buy you a beer (that is a
real beer, not the stuff with fruits inside).
I will test build a few more packages on aahz. Actually I noticed, that if
the cross-compiling machine is not reachable, distcc will fall back on
native building, so this could be something to set up permanently. I want to
get some speed comparisons, to see if pairing an m68k buildd with a
cross-compiler would help us. I might switch tanda back to a 2.2 kernel to
get a stable network on the mac, I guess on the slower boxes, this might be
of the most use. But to use it permanently, I would need another machine,
since I do not want to leave my only fast x86 machine, my notebook, with my
buildds all the time. Of course, having the m68k machine emulated on the
crosscompiling machine would be perfect. Then we could finally host m68k
boxes together with other boxes again, having them in secure locations, and
saving on the electricity bill for the poor m68k maintainers.
Christian
Reply to: