From: Scott Wood <usenet@buserror.net>
Subject: Re: Kernel compile
Date: Tue, 24 Dec 2002 19:43:34 -0000 [thread overview]
Message-ID: <slrnb0he76.45m.usenet@fenrir.buserror.net> (raw)
In-Reply-To: olXN9.286074$I6.26946677@zwoll1.home.nl
On Tue, 24 Dec 2002 12:16:17 +0100, Marcel Pol <devnull@chaosmongers.org> wrote:
> jbhuffman wrote:
>
>> Is is possible to compile a kernel for redhat linux to run on an alpha
>> box on an intel box? I've been trying to do this for some time and
>> cannot get it to work. Any suggestion?
>
> You need to cross-compile it then.
> The problem is that gcc2 cannot cross-compile on a 32bit host for a 64bit
> target. Gcc 3.0 also cannot do that I believe. I'm not sure if gcc 3.2 can
> do that. I haven't looked at it recently, I just bought a bigger disk :-)
I've compiled kernels for sparc64 on an x86 Linux box using gcc
3.0.1. 2.95.2 was also willing to make the attempt, but the results
were a bit buggy (in ways that appear unrelated to word size, such as
confusion between caller and callee saved registers). Given that
most Linux sparc distributions currently use a 32-bit userland, there
would be quite a few problems if what you say were correct.
OTOH, there may be alpha-specific issues, but 32->64 is not
universally broken.
-Scott
next prev parent reply other threads:[~2002-12-24 19:43 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-23 18:38 Kernel compile jbhuffman
2002-12-24 11:16 ` Marcel Pol
2002-12-24 19:43 ` Scott Wood [this message]
2002-12-24 22:10 ` Marcel Pol
2002-12-24 23:08 ` Markus
2002-12-25 4:55 ` Angelo Brigante, Jr.
2002-12-25 10:47 ` Måns Rullgård
2003-01-05 19:37 ` Angelo Brigante, Jr.
2003-01-05 22:14 ` Falk Hueffner
2003-01-06 3:27 ` Angelo Brigante, Jr.
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox