Patches for gnupg 1.0.7 / cygwin 1.3.10

Volker Quetschke quetschke@scytek.de
Wed Jun 5 16:02:02 2002


Hi, I forgot two things:

> Ok, but first things first, at the moment gnupg 1.0.7 / current cvs 
> version don't build OOB.

I mean both, the release gnupg 1.0.7 and the new version from cvs don't 
build.

> You can use the following build instructions to build gpg as a native 
> windows application. (without cygwin1.dll)
> 
> export CC="gcc -mno-cygwin"
> export RANLIB="ranlib"
> 
> ./scripts/autogen.sh
> ./configure --host=i686-pc-mingw32 --target=i686-pc-mingw32
> echo "all:" > po/Makefile
> make
> 
> ( The po/Makefile is not generated without AM_GNU_GETTEXT set, therefor 
> you have to generate your own.
> And you need to change the
> #ifdef __CYGWIN32__
> # include <winioctl.h>
> #endif
> 
> to just
> 
> #include <winioctl.h>
> (I don't now if you need winioctl.h for a pure mingwin build)

You also need AC_CHECK_FUNC( strcasecmp ... ) in Configure.ac, this is 
possibly already corrected in cvs.

Bye

     Volker