applied suggested patch, modulo superseded parts
[p5sagit/p5-mst-13.2.git] / hints / cygwin32.sh
1 #! /bin/sh
2 # cygwin32.sh - hintsfile for building perl on Windows NT using the
3 #     Cygnus Win32 Development Kit.
4 #     See "http://www.cygnus.com/misc/gnu-win32/" to learn about the kit.
5 #
6 path_sep=\;
7 exe_ext='.exe'
8 firstmakefile='GNUmakefile'
9 if test -f $sh.exe; then sh=$sh.exe; fi
10 startsh="#!$sh"
11 cc='gcc2'
12 ld='ld2'
13 usrinc='/gnuwin32/H-i386-cygwin32/i386-cygwin32/include'
14 libpth='/gnuwin32/H-i386-cygwin32/i386-cygwin32/lib /gnuwin32/H-i386-cygwin32/lib'
15 libs='-lcygwin -lm -lc -lkernel32'
16 # dynamic lib stuff
17 so='dll'
18 #i_dlfcn='define'
19 dlsrc='dl_cygwin32.xs'
20 usedl='y'
21 # flag to include the perl.exe export variable translation file cw32imp.h
22 # when building extension libs
23 cccdlflags='-DCYGWIN32 -DDLLIMPORT '
24 # flag that signals gcc2 to build exportable perl
25 ccdlflags='-buildperl '
26 lddlflags='-L../.. -L/gnuwin32/H-i386-cygwin32/i386-cygwin32/lib -lperlexp -lcygwin'
27 d_voidsig='undef'
28 extensions='Fcntl IO Opcode SDBM_File'
29 lns='cp'
30 signal_t='int'
31 useposix='false'
32 rd_nodata='0'
33 eagain='EAGAIN'
34 archname='cygwin32'
35 #
36
37 installbin='/usr/local/bin'
38 installman1dir=''
39 installman3dir=''
40 installprivlib='/usr/local/lib/perl5'
41 installscript='/usr/local/bin'
42
43 installsitelib='/usr/local/lib/perl5/site_perl'
44 libc='/gnuwin32/H-i386-cygwin32/i386-cygwin32/lib/libc.a'
45
46 perlpath='/usr/local/bin/perl'
47
48 sitelib='/usr/local/lib/perl5/site_perl'
49 sitelibexp='/usr/local/lib/perl5/site_perl'
50 usrinc='/gnuwin32/H-i386-cygwin32/i386-cygwin32/include'