SuSE Linux 8.1 Alpha ... -m32 switch in gcc ?
"Jim McCarthy" <[email protected]> Sat, 20 Nov 2004 19:23:26 -0800
| Newsgroups | gmane.linux.suse.axp |
|---|---|
| Message-ID | <[email protected]> |
Hello --
I have recently tested both Debian GNU/Linux -and- Red Hat 7.2 (from HP) on
my DEC Alpha(s). In both cases, I encountered gcc compiler warnings on
Alpha when trying to build C software written for PC Linux (Intel 32-bit),
and indeed the resulting executables fail at run-time. Just today I found
again "alphalinux.org" and mention of the SuSE Linux 8.1 Alpha Edition, and
some further investigation of SuSE Linux then led me to this page:
http://www.novell.com/documentation/suse91/suselinux-adminguide/html/ch10s04
.html
which describes (at least for SuSE Linux 9.1 for AMD64) a gcc compiler
switch "-m32" that I believe would solve my problem (by limiting address
pointers to 32-bits), *IF* this feature is also part of SuSE Linux 8.1 for
DEC Alpha.
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 ?
Thanks,
-- Jim McCarthy
Los Angeles, CA
[email protected]