[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Unknown flag '-xcode=pic32' on Sun Studio 11 x86 when compiling ncurses
From: |
Dagobert Michelsen |
Subject: |
Unknown flag '-xcode=pic32' on Sun Studio 11 x86 when compiling ncurses 5.7 |
Date: |
Fri, 2 Jan 2009 18:25:58 +0100 |
Hi,
there was a change in Solaris flags some time ago:
20080614
...
+ change CC_SHARED_OPTS from -KPIC to -xcode=pic32 for Solaris.
...
This flag is only allowed on Sparc and invalid on
Sun Studio 11 x86 (from cc(1)):
-xcode=v
(SPARC) Specify code address space
On Sparc -xcode=pic32 is identical to the obsoleted option -KPIC,
however on x86 there is no -xcode and -KPIC is equivalent -Kpic.
I guess is may be best if it would be checked during compilation
if the compiler accepts -xcode.
Best regards
-- Dagobert Michelsen
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Unknown flag '-xcode=pic32' on Sun Studio 11 x86 when compiling ncurses 5.7,
Dagobert Michelsen <=