[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
linking with curses
From: |
Michail Vidiassov |
Subject: |
linking with curses |
Date: |
Sat, 17 Nov 2007 08:17:32 +0300 (MSK) |
Dear Thomas,
On Sat, 1 Sep 2007, Thomas Dickey wrote:
How would the ideal world without workarounds for other workarounds for
ancient bugs look like?
#include <curses.h>
-lcurses
(but the non-ideal world has different implementations and versions of curses)
In that view, may be "must" is a too strong word in the following
quote from ncurses(3)
A program using these routines must be linked with the -lncurses
option, or (if it has been generated) with the debugging library
-lncurses_g. (Your system integrator may also have installed these
libraries under the names -lcurses and -lcurses_g.)
Nowdays when ncurses is more likely to be the only library in the system
than not, -lncurses instead -lcurses just leads away from the one true
path of "The Single UNIX Specification" :)
Sincerely, Michail
- linking with curses,
Michail Vidiassov <=