cygwin-patches for kde 3.4.1

Thiago Macieira thiago at kde.org
Sat Jun 18 15:53:21 BST 2005


Ralf Habacker wrote:
>cygwin's ld has support to load a dll directly, but I don't know if it
> handles this dependencies.
>Is loading this dependency the default behavior for ld on unix ?

Yes. When you tell the linker to link to libfoo.so (-lfoo), it will load 
any dependencies libfoo.so has.

The point here is not whether your program uses symbols from a library 
that got loaded by the linker.

The problem is that you have to tell the linker, on Cygwin, the dependency 
libraries that you couldn't care less about! I don't care if cygwin1.dll 
uses kernel32.dll or kernel64.dll or whatever! I know I'm linking against 
-lcygwin1, but I don't care what cygwin links against. I should not have 
to give -lkernel32 on the link command-line.

This is going off-topic. The bug is outside KDE.
-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

3. Ac seo woruld wearð geborod, swá se Scieppend cwæð "Gewurde Unix" and 
wundor fremede and him "Unix" genemned, þæt is se rihtendgesamnung.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20050618/77c72602/attachment.sig>


More information about the kde-core-devel mailing list