From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f5392,b77a8fbcd0760f0f X-Google-Attributes: gidf5392,public X-Google-Thread: f9382,b77a8fbcd0760f0f X-Google-Attributes: gidf9382,public X-Google-Thread: 111c93,b77a8fbcd0760f0f X-Google-Attributes: gid111c93,public X-Google-Thread: ff9be,b77a8fbcd0760f0f X-Google-Attributes: gidff9be,public From: patchkov@acs1.acs.ucalgary.ca (Serguei Patchkovskii) Subject: Re: Q: Is it possible to compile binaries for a different processor? Date: 1999/04/15 Message-ID: <7f51h0$hki@ds2.acs.ucalgary.ca>#1/1 X-Deja-AN: 466754245 References: <37168eea.69605890@news.yec1.on.wave.home.com> Followup-To: comp.os.linux.development.system,comp.os.linux.alpha,comp.os.linux.questions,comp.os.linux Organization: The University of Calgary Newsgroups: comp.os.linux.development.system,comp.os.linux.alpha,comp.os.linux.questions,comp.os.linux Chris Gahan (cgahan@geocities.com) wrote: : I was wondering if it is indeed possible to compile x86 binaries, for : example, on an Alpha. I thought about this, and it definitely seems : possible. I figure that if you get the x86 version of GCC, and : compile it on an Alpha, it would spit out x86 binaries. Am I way off : with this, or is this something that I can do right now? :) I used to build extended DOS x86 binaries with gcc on SGI Irix. Worked like a charm, and was quite easy to set up. I see no reason why this wouldn't work on Linux/Alpha. The only reasonably tricky bit is to get the compiler support libraries and crt0.o for your target platform - which you can do by cannibalizing a native gcc binary distribution for the x86 OS flavour you want to target. Regards, /Serge.P