[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ncurses-bug
Subject:    Unknown flag '-xcode=pic32' on Sun Studio 11 x86 when compiling
From:       Dagobert Michelsen <dam () opencsw ! org>
Date:       2009-01-02 17:25:58
Message-ID: B2125252-7B26-4A5A-9BAE-BB4E8B19F3EA () opencsw ! org
[Download RAW message or body]

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


_______________________________________________
Bug-ncurses mailing list
Bug-ncurses@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-ncurses
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic