Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: Marcel Pol <devnull@chaosmongers.org>
Subject: Re: Kernel compile
Date: Tue, 24 Dec 2002 23:10:33 +0100	[thread overview]
Message-ID: <LW4O9.288125$I6.27246079@zwoll1.home.nl> (raw)
In-Reply-To: slrnb0he76.45m.usenet@fenrir.buserror.net

Scott Wood wrote:

> 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.

Oh, ok. That was what I gathered, but maybe it was user error then, or
something else.
Thanks for correcting.

-- 
Marcel Pol

Linux 2.4.20-2mdk.ringwrld.1, up 3 days, 7:21
Registered User #163523



  reply	other threads:[~2002-12-24 22:10 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
2002-12-24 22:10     ` Marcel Pol [this message]
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