Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sourceware.cygnus.com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin@sourceware.cygnus.com>
List-Help: <mailto:cygwin-help@sourceware.cygnus.com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner@sourceware.cygnus.com
Delivered-To: mailing list cygwin@sourceware.cygnus.com
From: scozens@pwj.co.jp
X-Lotus-FromDomain: PRICE WATERHOUSE-JAPAN
To: "Sean Champ" <symmetry_web@email.msn.com>
cc: "Cygwin-general" <cygwin@sourceware.cygnus.com>
Message-ID: <492568A9.00169B47.00@pwj-gw-n001.pwj.co.jp>
Date: Tue, 21 Mar 2000 13:48:35 +0900
Subject: Re: PGP, or otherwise
Mime-Version: 1.0
Content-type: text/plain; charset=us-ascii
Content-Disposition: inline






> is there anyone working on porting GnuPG to cygwin?
> i haven't tried to compile it yet, but i'm guessing it would hang on some
things.
> are there any tips on where I should expect some compile-time problems?
> or is it just a matter of  hunt-and-peck until it works?

I'm trying. Haven't got there yet, though. The first thing to note is
that you want to tell it you're on a mingw32 system.Secondly, config.links
gets the calling conventions from assembler wrong.
You should change sysdeps.h to say

#define CSYMBOL(name) _##name

(Actually, that's a hack, there's probably a better way to make it work.)
The next remaining issues I have are:
     undefined reference to `_ctype_'

ctype.h is included, but where should it get _ctype_ from?

     undefined reference to `read_w32_registry_string'

You can get around that by turning off __MINGW32__ for that period, and
it'll do the getenv() thing.

Let me know how it goes. If you can't even get that far, I'm happy to
send you a tarball of what I've done so far.

Simon



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

