On 4/16/08, Douglas E. Engert <[EMAIL PROTECTED]> wrote:
>  OK, I am willing to try and build with a cross compile using mingw
>  as that appears to be the consensus of opensc-project members.

Great!

>  I have an Ubuntu system with the mingw32, mingw32-binutils, and
> mingw-runtime.

Good to test this on other distros :)

>  But I don't see in the opensc configure how to tell it to build the cross
>  compile win32 version. It looks like the scb create-using-mingw, so I
> assume
>  I should try and use it...

It is standard cross compile:
./configure --host=<something>
You can see this in the create-using-mingw script.

> > I've added a script opensc-install.bat that installs the package.
> > All you need to do is extract the files to their final location and
> > run this script.
> >
>
>  I see the script, its a start, but I though NSIS was the direction?
>  You could still consider

Sure!
But I find nobody who wish to help. And I won't maintain this...

> > No graphical installer, but it is doing the same...
> >
> > The create-using-mingw in scb trunk builds the file structure.
> >
>
>  I tried that, but it is trying to load openssl-SNAP-20080403,
>  which is not available, so I tried 20080415. (Why do you need
>  the snapshot? Is it related to your OpenSSL rt#1552?)

I've updated the snapshot.
openssl-0.9.9 will be the first version capable of cross compile.
Also the mingw support is broken, so fixup is required.

>  It also tries to load libp11-0.2.4 that is not created yet,
>  and opensc-0.11.4 that does not have any of your changes yet.
>  So I stopped at the downloads for now.

You should export trunk of opensc, libp11, engine_pkcs11 and:
autoreconf -i -v -f && ./configure && make dist
And copy the tarballs into distfiles directory where create-using-mingw
is located.
In the future, after next release, it will download correct version directly
from site.

I use:
$ ls distfiles/
engine_pkcs11-0.1.4-svn.tar.gz  libtool-1.5.26.tar.gz
openssl-SNAP-20080415.tar.gz
libp11-0.2.3-svn.tar.gz         opensc-0.11.4-svn.tar.gz  zlib-1.2.3.tar.gz
CHOST=i686-pc-mingw32 CBUILD=i686-pc-linux-gnu ./create-using-mingw

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

Reply via email to