bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: fails to build under Solaris 10/Sparc


From: Peter Kruse
Subject: Re: fails to build under Solaris 10/Sparc
Date: Fri, 28 Oct 2011 12:48:33 +0200

Hello,

On Fri, Oct 28, 2011 at 11:31 AM, Thomas Dickey <address@hidden> wrote:
>
> that's possible.  I don't have any control over the sparc system, and found
> that gcc 4.x is unsupported for x86_64, so I don't have a good way to test
> this configuration directly.
>
> At the moment, it's looking more like a bug in gcc than in ncurses though...

but ... it's just that Define of _XOPEN_SOURCE, if I compare the configure
script of ncurses 5.7 and 5.9 I find in 5.7:

solaris*) #(vi
        CPPFLAGS="$CPPFLAGS -D__EXTENSIONS__"
        ;;

whereas in 5.9 it looks like this:

solaris2.1[0-9]) #(vi
        cf_xopen_source="-D__EXTENSIONS__ -D_XOPEN_SOURCE=$cf_XOPEN_SOURCE"
        ;;

but that change in ncurses breaks the build ... well, right, it breaks
it for me.

Peter



reply via email to

[Prev in Thread] Current Thread [Next in Thread]