From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,d074c5bd2f09a068 X-Google-Attributes: gid111c93,public From: Frank Sweetser Subject: Re: 32-bit compilation environment Date: 1997/08/10 Message-ID: #1/1 X-Deja-AN: 264272895 References: <87rac3xm7l.fsf@spudboy.i-have-a-misconfigured-system-so-shoot-me> Organization: Worcester Polytechnic Institute, Worcester, MA 01609-2280 Newsgroups: comp.os.linux.alpha Gene McCulley writes: > Is there any way currently or under development or even planned to > support a 32-bit compilation environment under Linux/Alpha? The > source of the interest is a large (1.2 million lines of code) legacy C > application that is not 64-bit clean. If gcc is not a good answer, > are there any commercially available compilers that are? > Unfortunatelly, I don't see any simple way that you can. The 64 bit clean problems arises usually from assuming that pointers are the same size as a numerical type. These assumptions aren't just in the compiler, they're in the whole OS - kernel libc, everything. So, you wouldn't need a 32 compiler suite, you'd need a 32 bit port - and that would kind of kill the portability thing. -- Windows: I can play Doom! |RedHat Linux 2.0.31pre-2 i486 Linux: I can be a file server, be a Web|Because reboots are for upgrades! server, run the accounting package with|http://www.wpi.edu/~rasmusin/pgp.html twelve terminals AND play Doom! |for pgp key. frank sweetser