Re: SuSE Linux 8.1 Alpha ... -m32 switch in gcc ?

Major Linux <[email protected]> Sun, 21 Nov 2004 22:29:52 +0800
Newsgroups gmane.linux.suse.axp
Message-ID <[email protected]>
Hi,


On Sun, Nov 21, 2004 at 01:12:10PM +0100, Robert Schiele wrote:
> On Sat, Nov 20, 2004 at 07:23:26PM -0800, Jim McCarthy wrote:
> > Hello --
> > 
> > Can anyone tell me if the SuSE Linux 8.1 Alpha Edition's gcc compiler also
> > supports the -m32 switch, or if there is another (better/recommended)
> > approach for building (on Alpha) C code written for 32-bit Intel PC Linux
> > where addresses are assumed to be 32-bits ?
> 
> Alpha machines have 64-bit pointers.  There is no option for 32-bit pointers,
> thus a compiler cannot do anything for you.  Your only option is to fix your
> broken software if you want it to run on Alpha machines.

Not with the gcc compiler, but the Compaq C Compiler (ccc) does have 
such an option.


-- 
Best Regards,

Major Chai

http://www.majorlinux.com