Patch: Use lib-gnu-pkg-quux.so, not gnu-pkg-quux.so

Jeff Sturm jsturm@one-point.com
Wed Aug 22 11:08:00 GMT 2001


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



More information about the Java-patches mailing list