* gcc on AIX
@ 2004-09-20 20:41 Pierce, Andrew M
2004-09-20 20:58 ` David Kramer
0 siblings, 1 reply; 2+ messages in thread
From: Pierce, Andrew M @ 2004-09-20 20:41 UTC (permalink / raw)
To: gcc-help
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.
Thanks for any help.
Andrew Pierce
Systems Consultant II
UnumProvident
apierce@unumprovident.com
423.294.4318
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: gcc on AIX
2004-09-20 20:41 gcc on AIX Pierce, Andrew M
@ 2004-09-20 20:58 ` David Kramer
0 siblings, 0 replies; 2+ messages in thread
From: David Kramer @ 2004-09-20 20:58 UTC (permalink / raw)
To: Pierce, Andrew M; +Cc: gcc-help
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-09-20 20:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-20 20:41 gcc on AIX Pierce, Andrew M
2004-09-20 20:58 ` David Kramer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).