bug-ncurses
[Top][All Lists]
Advanced

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

[PATCH 17/61] man/form.3x, man/menu.3x, man/panel.3x: Drop discussion of


From: G. Branden Robinson
Subject: [PATCH 17/61] man/form.3x, man/menu.3x, man/panel.3x: Drop discussion of library link ordering.
Date: Fri, 24 Nov 2023 12:01:55 -0600

This is general knowledge, not anything particular to curses.

(Also, dynamic linking is pretty common nowadays, and references to .a
static libraries could be misleading.)
---
 man/form.3x  | 4 ----
 man/menu.3x  | 4 ----
 man/panel.3x | 4 ----
 3 files changed, 12 deletions(-)

diff --git a/man/form.3x b/man/form.3x
index e40e313b..11d1e03d 100644
--- a/man/form.3x
+++ b/man/form.3x
@@ -217,10 +217,6 @@ .SH RETURN VALUE
 .SH NOTES
 The header file \fB<form.h>\fP automatically includes the header files
 \fB<curses.h>\fP and \fB<eti.h>\fP.
-.PP
-In your library list, libform.a should be before libncurses.a; that is,
-you want to say \*(``\-lform \-lncurses\*('', not the other way around
-(which would give you a link error when using static libraries).
 .SH PORTABILITY
 These routines emulate the System V forms library.
 They were not supported on
diff --git a/man/menu.3x b/man/menu.3x
index bdcec5a6..18e4b829 100644
--- a/man/menu.3x
+++ b/man/menu.3x
@@ -192,10 +192,6 @@ .SH RETURN VALUE
 .SH NOTES
 The header file \fB<menu.h>\fP automatically includes the header files
 \fB<curses.h>\fP and \fB<eti.h>\fP.
-.PP
-In your library list, libmenu.a should be before libncurses.a; that is,
-you should say \*(``\-lmenu \-lncurses\*('', not the other way around
-(which would give a link-error when using static libraries).
 .SH PORTABILITY
 These routines emulate the System V menu library.
 They were not supported on
diff --git a/man/panel.3x b/man/panel.3x
index 29c4b57c..0b8f96eb 100644
--- a/man/panel.3x
+++ b/man/panel.3x
@@ -219,10 +219,6 @@ .SH PORTABILITY
 move to the top of the stack.
 You are cautioned to use the correct
 function to ensure compatibility with native panel libraries.
-.SH NOTE
-In your library list, libpanel.a should be before libncurses.a; that is,
-you should say \*(``\-lpanel \-lncurses\*('', not the other way around
-(which would give a link-error with static libraries).
 .SH HISTORY
 The panel facility was documented in SVr4.2 in
 \fICharacter User Interface Programming (UNIX SVR4.2)\fP.
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

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