On Wednesday, March 18, 2015 9:56:12 PM Walter Dnes wrote: > My situation... > > * I've dug up my ancient netbook, and got Gentoo re-installed on it > * The cpu is a dual-core Intel(R) Atom(TM) CPU Z520 > * It's 32-bit only; YES! > * Compiling just the Seamonkey binary (ignoring its dependancies) took > 14 hours > > I obviously want to offload compiling to another machine. As per the > subject, will a 64-bit no-multilb install be able to cross compile > 32-bit code?
I've done it with distcc by adding the -m32 option to cflags. I used a script (named after the compiler on the gentoo box) to call the compiler with the - m32 flag and placed on the PATH environment (just for the distccd service) before anything else and it worked. I got a 64 bit arch box to compile for a 32 bit gentoo (not nearly as fast as compiling locally on the arch box but much faster than the gentoo box). It should work similarly with other cross- compile scenarios. -- Fernando Rodriguez
signature.asc
Description: This is a digitally signed message part.

