This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Patch: Use lib-gnu-pkg-quux.so, not gnu-pkg-quux.so
- To: Anthony Green <green at redhat dot com>
- Subject: Re: Patch: Use lib-gnu-pkg-quux.so, not gnu-pkg-quux.so
- From: Jeff Sturm <jsturm at one-point dot com>
- Date: Wed, 22 Aug 2001 14:10:00 -0400 (EDT)
- cc: tromey at redhat dot com, java-patches at gcc dot gnu dot org
On Wed, 22 Aug 2001, Anthony Green wrote:
> I understand your point about the Windows library naming scheme. On the
> other hand, the library names we're using are clearly an artificial naming
> scheme in support of gcj's class loader - so I don't see why this particular
> unix-ism leak into Windows should be a problem. In any case, doesn't
> "gcc -lfoo" under Windows force a search for libfoo.something anyways?
In general GNU ld links to import libraries, not DLLs, on Windows. So for
foo.dll there could be a corresponding libfoo.a import library. The
names may or may not have anything in common, though by convention the
"lib" prefix is usually omitted from a DLL name.
Jeff