|
From: | Thomas Dickey |
Subject: | Re: unresolved symbols with ncurses-5.6 on Alpha OSF1 5.1A |
Date: | Wed, 25 Apr 2007 16:55:06 -0400 (EDT) |
On Wed, 25 Apr 2007, Martin MOKREJŠ wrote:
Let's link statically the new libncurses.a ...$ gcc ../objects/tic.o ../objects/dump_entry.o ../lib/libncurses.a -I../progs -I. -DHAVE_CONFIG_H -I. -I../include -D_OSF_SOURCE -DNDEBUG -I/usr/home3/mmokrejs/include/ncurses -O2 -o ticI'd like to solve it this way - but recall some linkers simply put the entire contents of the ".a" file in the output.But one can test for such broken linkers, right? ;-)
yes - but a check for whether -static/-dynamic are supported is _much_ simpler. -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net
[Prev in Thread] | Current Thread | [Next in Thread] |