From: steve at icarus.com (Stephen Williams)
Subject: 32-bit gcc help
Date: Wed, 07 Jul 2004 09:22:09 -0700 [thread overview]
Message-ID: <40EC2331.3040105@icarus.com> (raw)
In-Reply-To: <Pine.LNX.4.58.0407070115400.3202@devel.capslock.lan>
Mike A. Harris wrote:
> If you were using AMD64 architecture, you could use -m32 to
> compile 32bit x86 binaries, as the CPU can run both native 32bit
> and 64bit code. ia64 can do similar with emulation, and ppc64
> can run 32bit ppc binaries also. There never was a 32bit Alpha,
> so it has no such capability.
Actually, Windows NT/alpha and Microsoft C/RISC edition was
definitely *32* bit. It was not compatible with any 32bit alpha
which never existed) but int/long/void* were 32bit as the
compiler generated them, so 32bit applications didn't need to
be ported, per se. (M$ never made a 64bit system/compiler for
alpha, so far as I know.)
Also, the DEC compiler for alpha had a "32bit" mode that limited
the sizes of things in the same way. It needed operating system
support to keep the application address space within a 32bit
pointer.
Of course, compared to fixing the application, all this is
cheating:-)
--
Steve Williams "The woods are lovely, dark and deep.
steve at icarus.com But I have promises to keep,
http://www.icarus.com and lines to code before I sleep,
http://www.picturel.com And lines to code before I sleep."
next prev parent reply other threads:[~2004-07-07 16:22 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-07 2:41 32-bit gcc help js290
2004-07-07 5:22 ` mharris
2004-07-07 16:22 ` steve [this message]
2004-07-07 17:13 ` michal
2004-07-08 0:29 ` france
2004-07-08 2:11 ` mharris
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