From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by listman.redhat.com (Postfix) with ESMTP id 20A7441FA4 for ; Wed, 9 Oct 2002 13:42:32 -0400 (EDT) Received: (from mail@localhost) by int-mx1.corp.redhat.com (8.11.6/8.11.6) id g99HgWP23137 for axp-list@listman.redhat.com; Wed, 9 Oct 2002 13:42:32 -0400 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with SMTP id g99HgVf23133 for ; Wed, 9 Oct 2002 13:42:31 -0400 Received: from evrtwa1-ar5-4-65-006-229.evrtwa1.dsl-verizon.net (evrtwa1-ar5-4-65-006-229.evrtwa1.dsl-verizon.net [4.65.6.229]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id g99HMiX25146 for ; Wed, 9 Oct 2002 13:22:44 -0400 Received: (from rob@localhost) by evrtwa1-ar5-4-65-006-229.evrtwa1.dsl-verizon.net (8.11.6/8.11.6) id g99HgPw31371 for axp-list@redhat.com; Wed, 9 Oct 2002 10:42:25 -0700 Date: Wed, 9 Oct 2002 10:42:25 -0700 From: "Robert M. Riches Jr." Message-Id: <200210091742.g99HgPw31371@evrtwa1-ar5-4-65-006-229.evrtwa1.dsl-verizon.net> To: axp-list@redhat.com Subject: Re: Open Office. X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: > From: Joerg Bruehe > Date: Wed, 09 Oct 2002 11:23:04 +0200 > > "Robert M. Riches Jr." wrote: > > > > > From: Alvin Starr > > > 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