From mboxrd@z Thu Jan 1 00:00:00 1970 From: france at handhelds.org (George France) Date: Wed, 7 Jul 2004 20:29:32 -0400 Subject: 32-bit gcc help In-Reply-To: <40EC2331.3040105@icarus.com> References: <1089168067.2392.TMDA@mail.js1.bogus> <40EC2331.3040105@icarus.com> Message-ID: <200407072029.32522.france@handhelds.org> Hi, On Wednesday 07 July 2004 12:22 pm, Stephen Williams wrote: > 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.) > Windows NT/Alpha was 64bit, not 32. The product announce is at the URL below: http://www.winnetmag.com/Article/ArticleID/16872/16872.html > 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. This is also not accurate, but not worth going into at this time. Best Regards, --George