bug-ncurses
[Top][All Lists]
Advanced

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

Re: unresolved symbols with ncurses-5.6 on Alpha OSF1 5.1A


From: Thomas Dickey
Subject: Re: unresolved symbols with ncurses-5.6 on Alpha OSF1 5.1A
Date: Wed, 25 Apr 2007 15:07:10 -0400 (EDT)

On Wed, 25 Apr 2007, Martin MOKREJŠ wrote:

Why isn't generated something like

$ 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 tic

...because I found long ago that some systems would simply include the
entire library's content in the executable if I listed the ".a" file
explicitly.  Now that I'm thinking of it, listing the ".so" filename
can also let some linkers include the whole file.  (I haven't made a
thorough study of it though).

So using the linker options seems to be the only portable/reliable way
to get what we want.

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net

reply via email to

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