This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
rename cygwin32 to cygwin (from Eric Fifer <EFifer@sanwaint.com>)
[perl5.git] / hints / cygwin.sh
1 #! /bin/sh
2 # cygwin.sh - hints for building perl using the Cygwin environment for Win32
3 #
4
5 _exe='.exe'
6 exe_ext='.exe'
7 # work around case-insensitive file names
8 firstmakefile='GNUmakefile'
9 sharpbang='#!'
10 startsh='#!/bin/sh'
11
12 archname='cygwin'
13 cc='gcc'
14 libpth='/usr/i586-cygwin32/lib /usr/lib /usr/local/lib'
15 so='dll'
16 libs='-lcygwin -lm -lkernel32'
17 #optimize='-g'
18 ccflags='-DCYGWIN -I/usr/include -I/usr/local/include'
19 ldflags='-L/usr/i586-cygwin32/lib -L/usr/lib -L/usr/local/lib'
20 usemymalloc='n'
21 dlsrc='dl_cygwin.xs'
22 cccdlflags=' '
23 ld='ld2'
24 lddlflags='-L/usr/local/lib'
25 useshrplib='true'
26 libperl='libperl.a'
27 dlext='dll'
28
29 man1dir=/usr/local/man/man1
30 man3dir=/usr/local/man/man3
31
32 case "$ldlibpthname" in
33 '') ldlibpthname=PATH ;;
34 esac