Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com From: Chris Faylor Date: Mon, 20 Mar 2000 23:56:56 -0500 To: Cygwin-general Subject: Re: PGP, or otherwise Message-ID: <20000320235656.A17637@cygnus.com> Reply-To: cygwin AT sourceware DOT cygnus DOT com Mail-Followup-To: cgf AT cygnus DOT com, Cygwin-general References: <492568A9 DOT 00169B47 DOT 00 AT pwj-gw-n001 DOT pwj DOT co DOT jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.1.8i In-Reply-To: <492568A9.00169B47.00@pwj-gw-n001.pwj.co.jp>; from scozens@pwj.co.jp on Tue, Mar 21, 2000 at 01:48:35PM +0900 On Tue, Mar 21, 2000 at 01:48:35PM +0900, scozens AT pwj DOT co DOT jp wrote: >>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. Why is this? Given the ctype error you describe below, it sounds like you need to use a normal cygwin build. cgf 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. -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com