This is the mail archive of the
cygwin-developers@sources.redhat.com
mailing list for the Cygwin project.
Re: some header bugs
- To: cygwin-developers at sources dot redhat dot com
- Subject: Re: some header bugs
- From: Charles Wilson <cwilson at ece dot gatech dot edu>
- Date: Thu, 18 Jan 2001 04:38:09 -0500
- References: <979782795.12505.ezmlm@sources.redhat.com>
> Subject: some header bugs
> Date: Wed, 17 Jan 2001 20:53:06 -0500
> From: DJ Delorie <dj@delorie.com>
> To: cygwin-developers@cygwin.com
>
> While building some internal Red Hat stuff, I noticed the following:
>
> In /usr/include/termcap.h, some variables are declared "extern" but
> there's no provision for marking them as dllimport when you link
> against the dll version of the termcap library, which is the default.
But there is no dll version of the termcap library. So there doesn't
seem to be anything "wrong" with termcap's /usr/include/termcap.h
OTOH, the ncurses packages provides /usr/include/termcapn.h -- soon to
be /usr/include/ncurses/termcap.h -- which *does* provide facilities for
marking exports as dllimport. But, it is to be used when linking with
-lncurses either statically OR dynamically, when you only want ncurses'
termcap emulation behavior.
--Chuck