Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
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	[thread overview]
Message-ID: <7f51h0$hki@ds2.acs.ucalgary.ca> (raw)
In-Reply-To: 37168eea.69605890@news.yec1.on.wave.home.com

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



  reply	other threads:[~1999-04-15  4:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-04-15  4:00 Q: Is it possible to compile binaries for a different processor? Chris Gahan
1999-04-15  4:00 ` Serguei Patchkovskii [this message]
1999-04-15  4:00 ` Timo Biesenbach
1999-04-15  4:00 ` Jaap Schellekens
1999-04-16  4:00 ` Craig Graham
1999-04-16  4:00 ` Michal Jaegermann
1999-05-15  4:00   ` Bounce
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