From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,4fddad5fc2056263 X-Google-Attributes: gid111c93,public X-Google-ArrivalTime: 2002-12-24 14:10:34 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.arcor-online.net!newsfeed01.sul.t-online.de!t-online.de!gatel-ffm!news.telebyte.nl!newshub1.home.nl!home.nl!zwoll1.home.nl.POSTED!not-for-mail From: Marcel Pol Subject: Re: Kernel compile Newsgroups: comp.os.linux.alpha References: <6e0c875c.0212231038.16351508@posting.google.com> Organization: http://chaosmongers.org User-Agent: KNode/0.7.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-No-Bananas: Yes X-Message-Flag: Outlook; a program to spread viri, but it can do mail too. Message-ID: Date: Tue, 24 Dec 2002 23:10:33 +0100 NNTP-Posting-Host: 212.204.139.188 X-Complaints-To: abuse@home.nl X-Trace: zwoll1.home.nl 1040767787 212.204.139.188 (Tue, 24 Dec 2002 23:09:47 MET) NNTP-Posting-Date: Tue, 24 Dec 2002 23:09:47 MET Xref: archiver1.google.com comp.os.linux.alpha:6809 Scott Wood wrote: > On Tue, 24 Dec 2002 12:16:17 +0100, Marcel Pol > 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