On Feb 2, 2008 12:11 AM, Martin Paljak <[EMAIL PROTECTED]> wrote:
>
> On Feb 2, 2008, at 12:26 AM, Alon Bar-Lev wrote:
>
> > 2. Download latest libtool for win32 [3].
> >
> > [[[Does someone know why is this used for Windows, I believe a simple
> > LoadLibrary(), GetProcAddress() should do.]]]
>
> There used to be scdl 
> (http://www.opensc-project.org/opensc/browser/releases/opensc-0.9.6/src/scdl
> ) but at some point the decision 'we deal with smart cards, we don't
> deal with library loading' was done and libltdl introduced.

libtool is not used to load a library at runtime. It is used to
generate a library at compile time.

Maybe you confuse with ltdl? libltdl is a subproject of libtool.
"Libtool provides a small library, called libltdl, that aims at hiding
the various difficulties of dlopening libraries from programmers." [1]

> When I think about it now, a system_xyz.c file (much like pcsc-lite)
> with direct wrappers for win32 api would be a better choice than
> 'require libtool on windows'.

That would be a reimplementation of libltdl, wouldn't be?

I do not use Windows. What is the problem with using libltdl on Windows?

Bye,

[1] http://www.gnu.org/software/libtool/manual.html#Using-libltdl

-- 
 Dr. Ludovic Rousseau
_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to