gcc: How does gcc look for foo.dll in `gcc ... -lfoo'?

2004-07-13 Thread Alexey Lyubimov
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'

Re: gcc: How does gcc look for foo.dll in `gcc ... -lfoo'?

2004-07-13 Thread Gerrit P. Haase
Alexey wrote: 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

Re: gcc: How does gcc look for foo.dll in `gcc ... -lfoo'?

2004-07-13 Thread Charles Wilson
Gerrit P. Haase wrote: Alexey wrote: 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'

Re: gcc: How does gcc look for foo.dll in `gcc ... -lfoo'?

2004-07-13 Thread Alexey Lyubimov
Lyubimov [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, July 13, 2004 9:00 PM Subject: Re: gcc: How does gcc look for foo.dll in `gcc ... -lfoo'? Alexey wrote: 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