bug-ncurses
[Top][All Lists]
Advanced

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

Re: Building 64-bit version of ncurses on Solaris 8


From: Thomas Dickey
Subject: Re: Building 64-bit version of ncurses on Solaris 8
Date: Fri, 1 Feb 2002 19:34:00 -0500
User-agent: Mutt/1.2.5i

On Fri, Feb 01, 2002 at 06:05:05PM -0600, Albert Chin wrote:
> What's the best way to conditionally compile the trio files if needed?
> I plan on placing the source files in ncurses/base. A few ideas:

The simplest way is to include them from ncurses/base/vsscanf.c -- then
you have only to modify that file, e.g.,

        #include <base/triostuff.c>

But it would be better, I think, to add a configure option & check to
link against trio.

>   1. add to ncurses/modules but then they'd be compiled all
>      the time (though not used)
>   2. hack mk-1st.awk and mk-2nd.awk
>   3. modify ncurses/modules at run time with the new trio files
>   4. modify ncurses/modules and add teh trio libraries but
>      preface them by BUILD_TRIO. we'd then run sed on the file
>      before feeding to awk to leave them in or remove them depending
>      on whether or not the trio libraries are needed.
> 
> -- 
> albert chin (address@hidden)
> 
> _______________________________________________
> Bug-ncurses mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-ncurses

-- 
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net



reply via email to

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