Subject: Re: weakness in linker? or just normal?
To: VaX#n8 <vax@linkdead.paranoia.com>
From: Julian Bean <jules@mailbox.co.uk>
List: current-users
Date: 09/27/1996 10:25:38
At 9:59 pm 26/9/96, VaX#n8 wrote:
>Is having to specify "-ltermcap" to catch unresolved symbols in "-lcurses"
>a feature or bug?  With my limited understanding of linking semantics,
>I'd venture to say it was a feature since you could use symbols from
>whatever lib you wanted to fill in the -lcurses Undefined ones.
>However, I've been wrong before.

It is normal.

I asked the same question earlier this week (in the context of shared
libraries).  You may be right, it may be  a feature.

It is irritating in some ways, as it makes it harder to make cross-platform
makefiles (Other systems only need -lcurses or -lncurses, we need -ltermcap
as well)....

It would be nice to have a Solaris-style shared lib dependancy system, but
I suspect it would be a lot of work...

Jules


/----------------+-------------------------------+---------------------\
|  Jelibean aka  | jules@mailbox.co.uk           |  6 Evelyn Road      |
|  Jules aka     |                               |  Richmond, Surrey   |
|  Julian Bean   |                               |  TW9 2TF    *UK*    |
+----------------+-------------------------------+---------------------+
|  The 'net interprets censorship as damage, and routes around it.     |
\----------------------------------------------------------------------/