Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@sourceware.cygnus.com>
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
Message-Id: <199909301709.MAA10484@mercury.xraylith.wisc.edu>
To: varun sharma <varshar@yahoo.com>
cc: cygwin@sourceware.cygnus.com, g10@net.lut.ac.uk, bob@cservices.demon.co.uk
Subject: Re: gnupg-1.0.0 chokes over make 
In-Reply-To: Your message of "Tue, 28 Sep 1999 23:56:32 PDT."
             <19990929065632.3448.rocketmail@web108.yahoomail.com> 
Date: Thu, 30 Sep 1999 12:09:24 -0500
From: Mumit Khan <khan@thor.xraylith.wisc.edu>

varun sharma <varshar@yahoo.com> writes:
> Hi,
> 
> I've been trying to port gnupg on a cygwin-b20.1+NTSP5
> box via ./configure --target=i386-cygwin32
> --disable-nls
> 
> However, make fails with the follg..
> 
> -------------- start -----------------
> 
> blah..
> echo timestamp > g10m.lo
> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H
> -I. -I. -I.. -I../include    -g -O2 -Wall -Wcast-align
> -Wshadow -Wstrict-prototypes  -c mpih-mul1.s
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2
> -Wall -Wcast-align -Wshadow -Wstrict-prototypes -c

The problem has to do with case-insensitivity of the file system and
that screws up the auto-detection of the language for gcc. If you look
at the configure steps, you'll notice that these files are linked and
have .S extension (which means assembler that needs to be run through
pre-preprocessor first). However, on win32, gcc sees .s instead and
doesn't run the preprocessor, and you get rubbish error messages.

The trick to add a new rule that pre-processes files with either .s
or .S extension on win32. Or, pass `-x assembler-with-cpp' to gcc
when compiling these .s files.

Regards,
Mumit


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

