bug-ncurses
[Top][All Lists]
Advanced

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

Re: Determine when to use --enable-widec?


From: Thomas Dickey
Subject: Re: Determine when to use --enable-widec?
Date: Thu, 30 May 2019 05:30:03 -0400
User-agent: Mutt/1.5.23 (2014-03-12)

On Wed, May 29, 2019 at 11:20:03PM -0400, Jeffrey Walton wrote:
> Hi Everyone,
> 
> Forgive my ignorance... How can I determine whether I should build a
> narrow or wide version of Ncurses? That is, when should I use
> --enable-widec?
> 
> My use case is updating Ncurses on old distros and distros which
> charge for updates. I use old distros for their old compilers and
> runtimes. I prefer to supply the same as the distro provided.

generally "ldd" shows the library pathname.  If it shows "ncursesw",
that's widec.  Some rename the library, but "nm" (or "nm -D") generally
show the symbols.  If any have "_wch", that's widec, for instance.

(there's other cases as well, but that's the simple ones)

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

Attachment: signature.asc
Description: Digital signature


reply via email to

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