source: trunk/third/perl/hints/cygwin.sh @ 14545

Revision 14545, 1.0 KB checked in by ghudson, 24 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r14544, which included commits to RCS files with non-trunk default branches.
Line 
1#! /bin/sh
2# cygwin.sh - hints for building perl using the Cygwin environment for Win32
3#
4
5# not otherwise settable
6exe_ext='.exe'
7firstmakefile='GNUmakefile'
8case "$ldlibpthname" in
9'') ldlibpthname=PATH ;;
10esac
11archobjs='cygwin.o'
12
13# mandatory (overrides incorrect defaults)
14test -z "$cc" && cc='gcc'
15if test -z "$plibpth"
16then
17    plibpth=`gcc -print-file-name=libc.a`
18    plibpth=`dirname $plibpth`
19    plibpth=`cd $plibpth && pwd`
20fi
21so='dll'
22# - eliminate -lc, implied by gcc
23libswanted=`echo " $libswanted " | sed -e 's/ c / /g'`
24libswanted="$libswanted cygipc cygwin kernel32"
25# - otherwise i686-cygwin
26archname='cygwin'
27
28# dynamic loading
29# - otherwise -fpic
30cccdlflags=' '
31ld='ld2'
32
33# optional(ish)
34# - perl malloc needs to be unpolluted
35bincompat5005='undef'
36
37# stubs (ENOSYS, not implemented)
38d_chroot='undef'
39d_seteuid='undef'
40d_setegid='undef'
41
42# Win9x problem with non-blocking read from a closed pipe
43d_eofnblk='define'
44
45# strip exe's and dll's
46#ldflags="$ldflags -s"
47#ccdlflags="$ccdlflags -s"
48#lddlflags="$lddlflags -s"
Note: See TracBrowser for help on using the repository browser.