This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
Re: symlink dll
- From: Reini Urban <rurban at x-ray dot at>
- To: cygwin-apps at cygwin dot com
- Date: Wed, 01 Sep 2004 08:34:07 +0200
- Subject: Re: symlink dll
- References: <901745662219.20040824153633@familiehaase.de> <20040824153714.GA10974@coe.casa.cgf.cx> <1131759122053.20040824192052@familiehaase.de> <412B924F.3080404@x-ray.at> <041f01c48a1b$086c1e70$78d96f83@robinson.cam.ac.uk> <4132D065.50205@x-ray.at> <018301c48e89$cf2a0dc0$78d96f83@robinson.cam.ac.uk> <41332A4C.3070707@x-ray.at> <011201c48e96$38a1e870$78d96f83@robinson.cam.ac.uk> <41333745.1080702@x-ray.at> <019e01c48ea4$6f457460$78d96f83@robinson.cam.ac.uk>
Max Bowsher schrieb:
IT WILL NOT WORK!
Try it yourself if you like.
Ah sure, static PE imports.
So we just have to use delay loading for ld, similar to the MSVC linker.
Then via some kind of libcygdelay.a with a symlink resolver before
LoadLibrary().
Wine winegcc has it.
http://www.mail-archive.com/wine-devel@winehq.com/msg20983.html
But ld --help | grep delay is empty
Still not there? Should be --delay-lib
Should not be hard. Objections cgf?
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore98/html/vcconunderstandinghelperfunction.asp
http://www.esat.kuleuven.ac.be/~gcc/shared_libraries.html
--
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/