From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,dec81081a1e88a69 X-Google-Attributes: gid111c93,public X-Google-ArrivalTime: 2003-11-05 02:05:24 PST Message-ID: <3fa8cb80@x-privat.org> From: RedCrow Subject: Re: Cross Compiler on i686 Newsgroups: comp.os.linux.alpha Reply-To: drugo1979@LEVAMISONOUNFILTROyahoo.it Date: Wed, 05 Nov 2003 11:05:13 +0100 References: <3fa8afb0@x-privat.org> <873cd3gqkd.fsf@student.uni-tuebingen.de> User-Agent: KNode/0.7.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit NNTP-Posting-Host: nat-retis2.sssup.it X-Trace: x-privat.org 1068026753 193.205.82.101 (5 Nov 2003 11:05:53 +0100) Organization: X-Privat News Server - www.x-privat.org X-Complaints-To: abuse@x-privat.org Path: archiver1.google.com!news2.google.com!fu-berlin.de!area.cu.mi.it!x-privat.org!not-for-mail Xref: archiver1.google.com comp.os.linux.alpha:107 Falk Hueffner wrote: > RedCrow writes: > >> huw.davies@kerberos.davies.net.au wrote: >> >> > RedCrow wrote: >> >> My intention is to build a cross compiler for compile (on my i686 >> >> linux box) a kernel for an alpha machine. >> > >> > It was my understanding that this just plain won't work due to the >> > Intel chip being 32 bit and the Alpha 64. > > It should work, but it's not very well tested, so there might be bugs, > and also some optimizations are disabled. > Ok, that's good >> It works if a compile a simple Hello world program, but when i go to >> compile the kernel, it gives some register name conflict in asm clubber >> list. > > Probably the kernel you're compiling is too old, there was a bug in > some versions. > You are right. I compiled just now 2.4.22, and it works (i have'nt tried on the alpha machine, but it compiled). >> Another thing i want to ask: is it normal that the Hello world >> program that i compiled on my linux box, doesn't run on the digital >> unix box with alpha? > > If your cross compiler was targeted for Linux, then yes. > That is what i thought. >> And more: can i compile a kernel on that unix box?? > > Probably, if you install all the required tools. > Hope i do not need to install more tools, if the kernel just compiled works. -- Powered by RedHat Linux 9.0 Posted from X-Privat Free NNTP server - www.x-privat.org