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: Timo Biesenbach Subject: Re: Q: Is it possible to compile binaries for a different processor? Date: 1999/04/15 Message-ID: <37159567.D7F5E0A@igd.fhg.de>#1/1 X-Deja-AN: 466628936 Content-Transfer-Encoding: 7bit References: <37168eea.69605890@news.yec1.on.wave.home.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: Fraunhofer Institut =?iso-8859-1?Q?f=FCr?= Graphische Datenverarbeitung Mime-Version: 1.0 Newsgroups: comp.os.linux.development.system,comp.os.linux.alpha,comp.os.linux.questions,comp.os.linux It is possible. GCC is able to do cross-compiling for other target architectures. Consult the gcc manuals for further information. Chris Gahan 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? :) -- +---+---+-+-+-+-+ | | |-+-+-+-+ Fraunhofer-Institut fuer Graphische Datenverarbeitung +---+---+-+-+-+-+ Fraunhofer-Institute for Computer Graphics | | |-+-+-+-+ +---+---+-+-+-+-+ Abteilung / Department : Document Imaging | __ _ | | ! ! _ ! \ | Timo Biesenbach | ! !__! !_/ | Rundeturmstr. 6 phone ++49 6151 155 578 | | 64283 Darmstadt fax ++49 6151 155 299 +---------------+ Germany email timo.biesenbach@igd.fhg.de