gcc on AIX
David Kramer
david@thekramers.net
Mon Sep 20 20:58:00 GMT 2004
On Mon, 20 Sep 2004, Pierce, Andrew M wrote:
> Hello. I hope this is the right place to submit questions. I
> consistently get compile errors, even with the simplest C++ program, on
> AIX. The error states, 'sigset64_t' is used as a type, but is not
> defined as a type.
>
> It seems to me that the compiler is trying to compile in 64-bit mode.
> Our AIX installation is running in 32 bit mode. I have Googled this and
> found alot of people with the same error but no solutions.
>
>From the man page for gcc in the RS6000-specific options:
The -mpowerpc option allows GCC to generate instructions
that are found only in the 32-bit subset of the PowerPC
architecture. Specifying -mpowerpc-gpopt implies
-mpowerpc and also allows GCC to use the optional
PowerPC architecture instructions in the General Purpose
group, including floating-point square root. Specifying
-mpowerpc-gfxopt implies -mpowerpc and also allows GCC
to use the optional PowerPC architecture instructions in
the Graphics group, including floating-point select.
The -mpowerpc64 option allows GCC to generate the
additional 64-bit instructions that are found in the
full PowerPC64 architecture and to treat GPRs as 64-bit,
doubleword quantities. GCC defaults to -mno-powerpc64.
--
DDDD
DK KD "Apparently the most controversial thing we ever had on _Buffy_
DKK D was a hamburger and chicken sandwich."
DK KD - Joss Whedon, creator of "Buffy the Vampire Slayer"
DDDD
More information about the Gcc-help
mailing list