compilation errors trying to build unzip on cygwin

Ken Brown kbrown@cornell.edu
Sun Feb 14 01:18:06 GMT 2021


On 2/13/2021 7:01 PM, Soren via Cygwin wrote:
> HI. HI!. I've been away from cygwin (and all computer programming
> /messing-about) fro several years. Still love Cygwin.
> 
> I've gotan archive with the source for `unzip' and I am having trouble
> compiling that program. The is the output on the console:
> 
> $ make
> gcc -c -DASM_CRC -DWIN32 -D__GW32__ -D_LARGEFILE_SOURCE=1
> -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -Wall -O3 -fms-extensions
> -mms-bitfi
> elds  -fno-exceptions -fomit-frame-pointer -march=i386 -mcpu=i686
> -idirafter e:/progra~1/gnuwin32/include -idirafter h:/glibc/include -DUNIXB
> ACKUP -DUSE_UNSHRINK -DACORN_FTYPE_NFS -DOS2_EAS -DUSE_CRYPT  -Wall  -o
> unzip.o  -O3 -mtune=native -march=native  unzip.c

You need to tell make to use the unix Makefile.  See the unzip.cygport file in 
the source for Cygwin's unzip package.  You can get it from

   https://cygwin.com/git-cygwin-packages/?p=git/cygwin-packages/unzip.git

or by using Cygwin's setup program to download the source.

Ken


More information about the Cygwin mailing list