Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email email@example.com
From: Robert M. Riches Jr. (rm.riches_at_verizon.net)
Date: Wed Oct 09 2002 - 12:42:25 CDT
> From: Joerg Bruehe <joergsql.de>
> Date: Wed, 09 Oct 2002 11:23:04 +0200
> "Robert M. Riches Jr." wrote:
> > > From: Alvin Starr <alviniplink.net>
> > > Date: Tue, 08 Oct 2002 21:16:38 -0400
> > >
> > > I noticed that RH8.0 has build an open-office RPM.
> > >
> > > does gcc have a 32 bit address compile and link option?
> > >
> > > [...]
> > At least on RH7.1 (and its ancestors), there is a -taso option
> > that handles most things to sidestep non-64-bit-clean code.
> AFAIK, "-taso" (and "-xtaso") are options of the Tru64 C compiler
> (ex Digital, ex Compaq, now HP), I never heard about them for GCC.
> "aso" means "address short option", compiler and linker ensure
> that only the lower 32 bit of an address are significant,
> so you can copy a pointer from/to an "int" (32 bit) and it still
> remains valid.
> For more details, see the Tru64 C manuals, you might start at
> AFAIK, there is no such chance in the GNU "cc" / "ld" world.
Well, I'm running a RH7.1 system (haven't yet had time to install 7.2.),
and here's a snippet of what I see when I run "/usr/bin/gcc -v --help":
-taso Load executable in the lower 31-bit addressable
virtual address range
Doing "/usr/bin/gcc --version" produces "2.96".
On more detailed investigation, you have to prefix the -taso
switch with "-Wl,", so the whole command should be "gcc -Wl,-taso *.c",
which I just used to compile a very short program, and the binary
seems to work.
Oh, the other useful thing when using gcc to compile with gcc
is the "-mieee" switch. Somebody from Redhat once told me they
use the "-mieee" switch when they compile anything, except for
one older version of xlock (details in Redhat bugzilla).
Have fun. :-)
Axp-list mailing list