Re: kernel cross-toolchain (Gentoo)

From: Al Viro
Date: Fri Sep 30 2005 - 11:05:28 EST


On Fri, Sep 30, 2005 at 08:09:11PM +0400, Alexey Dobriyan wrote:
> 1) Watch for it to install gcc 3.4.*. Chances of successful build are much
> higher than with 3.3. Use --g switch of crossdev (_especially_ with
> s390).

Umm... Is crossdev toolchain with target==host the same as native one?

> 3) re ia64
> I was told that "ia64 is known to not cross compile at all due
> to the unwind code". #101626.

*snerk* Read: needs libc headers for ia64.

> 4) re m68k
> binutils only. Haven't investigated.

Oh? Both FC4 (4.0.1) and sarge (3.3.5) handle it without any complications

> 5) re mips64
> Ditto.

Same as above

> 6) re mips
> Builds OK. Naive allyesconfig with CROSS_COMPILE=mips-... barfs
> at me violently mentioning some compiler switches.

mips in mainline doesn't build.

> # crossdev -v -s1 -t powerpc-unknown-linux-gnu
> # crossdev -v -s1 -t powerpc64-unknown-linux-gnu

Actually, powerpc64 can handle ppc32...
> # crossdev -v -s1 -t sparc-unknown-linux-gnu
> # crossdev -v -s1 -t sparc64-unknown-linux-gnu

Same story.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/