Subject: Re: weakness in linker? or just normal?
To: None <current-users@NetBSD.ORG>
From: Christoph Badura <bad@flatlin.ka.sub.org>
List: current-users
Date: 09/27/1996 23:13:00
VaX#n8 writes:
>Is having to specify "-ltermcap" to catch unresolved symbols in "-lcurses"
>a feature or bug?
That's a feature. The Unix linker has never linked in libraries
automatically. Also, you need to specify the libraries in the right
order. While "-lcurses -ltermcap" works, "-ltermcap -lcurses" won't.
With older linkers it was not unusual to have to specify libraries
twice to resolve external references from libraries named later on the
command line.
--
Christoph Badura bad@flatlin.ka.sub.org
You don't need to quote my .signature. Everyone has seen it by now.
Besides, it doesn't add anything to the current thread.