Hello All,

It all started as result of OpenSSL incompatibility between an
application and OpenSC PKCS#11 provider.

I quickly learned that OpenSC is built for Windows only using
Microsoft compiler.

Requiring Microsoft compile for free software is somewhat strange... :)

Also, it required OpenSC developers to implement and maintain two
separate build systems, one for all other operating systems and one
specific for Microsoft.

It took some effort, but at the end I have a test release that uses a
single autoconf/automake/libtool build system for all operating
systems.

The problem is that I do not use OpenSC (yet) and I also do not use
Windows... :) I can confirm that it sane... It detects readers and
loads the provider... But I cannot do more than this.

So if you are a Windows user, I need some help!
None Windows users are also appreciated, as the build system had gone
a major change.

Windows binaries are available at [1], source tarball is available at [2].

In order to do this modification, I had to clean up the current OpenSC
build, this is available at the first revision of my trunk [3]. Other
revisions are grouped by the level of complexity.

Major Changes:
1. Cleanup current build system, (Andreas, I hope you will not be
completely mad). All optional components are disabled now by default,
use --enable-X to enable them if required.
2. Make build system support mingw.
3. pcsc driver is loaded dynamically. This method works the same on
Linux and Windows. It should be tested on other platforms.
4. Initial cygwin support (not tested).
5. No version and other resources for DLLs and EXEs, it may be added
in future if important.

I believe the modified build system is much cleaner, and it is worth
the efforts to detect the issues I missed and fix them using this as
base.

Any comments/recommendations will be appreciated.

Best Regards,
Alon Bar-Lev.

[1] http://alon.barlev.googlepages.com/opensc-trunk-mingw32-001.tar.bz2
[2] http://alon.barlev.googlepages.com/opensc-0.11.4-svn.tar.gz
[3] http://www.opensc-project.org/opensc/browser/branches/alonbl/mingw
_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to