I'm confused since the gcc documentation says that the only thing that
`-lfoo' does, is that it allows gcc to look for `libfoo.a' while linking.
But what about the shared libraries (DLLs)? It seems to me that gcc looks
for `libfoo.dll', `cygfoo.dll', `foo.dll' and may be for all these plus `.a'
suffix, doesn't it? But, for example, libfoo and cygfoo could be two
_different_ libraries at all. Can anybody explain the "-l" feature for DLLs?
I've tried the Cygwin's User Guide and gcc info, but did not find any
answer.

Thank you.
Alexey Lyubimov


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.719 / Virus Database: 475 - Release Date: 12.07.04


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Reply via email to