Alon Bar-Lev wrote:
> On 2/27/08, Douglas E. Engert <[EMAIL PROTECTED]> wrote:
>> I am trying to build the off the SVN source using msys and mingw and
>>  have some questions.
> 
> Thanks for trying!
> 
>>  I need OpenSSL and Zlib and ltdl (until you change the code) and would
>>  like to use the versions that were built for Windows by others
>>  and work with OpenSC using Makefile.mak and Visual Studio.
>>
>>  zlib123-dll was downloaded, and it has in its lib directory:
>>    zdlib.exp, zdll.lib, zlib.def
>>
>>  OpenSSL has in its lib directory:
>>    libeay32.lib, ssleay32.lib
> 
> You cannot use Microsoft .lib format with mingw.
> You can use the .dll as libs, but for this I have to test a specific
> configuration.

What would it take?

> To make all easier, build the dependencies using mingw as well.

I find that harder...

> 
> BTW: Why do you need zlib? Maybe first succeed without this and then try to 
> add?

PIV cards are being issued with compressed certificates, and so they need
to be decompressed.  (Its in the NIST-800-73 specs, I don't think they
gain much be compressing ASN.1, but that is out of my control.)

> 
>>  I  had to touch the packaged file, as it would not configure
>>  without it. I am using svn from unix and using AFS to share
>>  the filesystem with Windows.
> 
> If you build from svn you need some more dependencies,
> Install xsltproc, wget, svn somewhere and configure with --disable-doc.
> Or checkout the whole thing on Linux and run ./configure && make dist,

That is what I am doing, checkout using Unix to shared file system in
OpenAFS, run bootstrap on Unix, then run the configure and make on
Windows. The configure complained about not having the xsltproc, wget, svn,
but by adding the packaged file it got by all of that.




> transfer the output to the mingw environment, or download this from [1].
> I use mingw as a cross compile so I don't have to use msys.

This is getting to be a bigger and bigger project. I will see what I can do.
I wanted to use the OpenSSL and zlib that worked with the Makefile.mak and
the Microsoft build to keep it simple.


> 
> Thanks!
> Alon.
> 
> [1] http://alon.barlev.googlepages.com/opensc-0.11.4-svn.tar.gz
> 
> 

-- 

  Douglas E. Engert  <[EMAIL PROTECTED]>
  Argonne National Laboratory
  9700 South Cass Avenue
  Argonne, Illinois  60439
  (630) 252-5444
_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to