Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: "Robert M. Riches Jr." <rm.riches@verizon.net>
To: axp-list@redhat.com
Subject: Re: Open Office.
Date: Wed, 9 Oct 2002 10:42:25 -0700	[thread overview]
Message-ID: <200210091742.g99HgPw31371@evrtwa1-ar5-4-65-006-229.evrtwa1.dsl-verizon.net> (raw)

> From: Joerg Bruehe <joerg@sql.de>
> Date: Wed, 09 Oct 2002 11:23:04 +0200
>
> "Robert M. Riches Jr." wrote:
> > 
> > > From: Alvin Starr <alvin@iplink.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 
>   
> http://www.tru64unix.compaq.com/docs/best_practices/BP_C_COMPILER/TITLE.HTM 
>
> 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.  :-)

Robert Riches
rm.riches@verizon.net




             reply	other threads:[~2002-10-09 17:42 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-09 17:42 Robert M. Riches Jr. [this message]
2002-10-09 19:21 ` Open Office George France
  -- strict thread matches above, loose matches on Subject: below --
2002-10-09 19:14 Robert M. Riches Jr.
2002-10-09 20:51 ` Uncle George
2002-10-09 18:29 Donsbach, Jeff
2002-10-09 13:39 Hoover, Tony
2002-10-09  2:44 Robert M. Riches Jr.
2002-10-09  9:23 ` Joerg Bruehe
2002-10-09 15:07   ` Michal Jaegermann
2002-10-09 15:21     ` Falk Hueffner
2002-10-09  1:16 Alvin Starr
2002-10-10  2:25 ` Andrei A. Dergatchev
2002-10-10 21:07   ` alvin
2002-05-22 23:05 Robert M. Riches Jr.
2002-05-16 21:28 Apple snubs Alpha Processor Inc Kurt A. Ludwig
2002-05-16 22:27 ` Open Office Peter Watkinson
2002-05-22 22:46   ` Stephen Williams
2002-02-28  5:12 Robert M. Riches Jr.
2002-02-28  2:51 Collin Baillie
2002-02-28 14:34 ` James Fowler
2002-02-28  2:17 Collin Baillie
2002-02-28  2:17 ` Peter Petrakis
2002-02-28  9:09 ` Helge Kreutzmann
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox