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 |
---|
6 | exe_ext='.exe' |
---|
7 | firstmakefile='GNUmakefile' |
---|
8 | case "$ldlibpthname" in |
---|
9 | '') ldlibpthname=PATH ;; |
---|
10 | esac |
---|
11 | archobjs='cygwin.o' |
---|
12 | |
---|
13 | # mandatory (overrides incorrect defaults) |
---|
14 | test -z "$cc" && cc='gcc' |
---|
15 | if test -z "$plibpth" |
---|
16 | then |
---|
17 | plibpth=`gcc -print-file-name=libc.a` |
---|
18 | plibpth=`dirname $plibpth` |
---|
19 | plibpth=`cd $plibpth && pwd` |
---|
20 | fi |
---|
21 | so='dll' |
---|
22 | # - eliminate -lc, implied by gcc |
---|
23 | libswanted=`echo " $libswanted " | sed -e 's/ c / /g'` |
---|
24 | libswanted="$libswanted cygipc cygwin kernel32" |
---|
25 | # - otherwise i686-cygwin |
---|
26 | archname='cygwin' |
---|
27 | |
---|
28 | # dynamic loading |
---|
29 | # - otherwise -fpic |
---|
30 | cccdlflags=' ' |
---|
31 | ld='ld2' |
---|
32 | |
---|
33 | # optional(ish) |
---|
34 | # - perl malloc needs to be unpolluted |
---|
35 | bincompat5005='undef' |
---|
36 | |
---|
37 | # stubs (ENOSYS, not implemented) |
---|
38 | d_chroot='undef' |
---|
39 | d_seteuid='undef' |
---|
40 | d_setegid='undef' |
---|
41 | |
---|
42 | # Win9x problem with non-blocking read from a closed pipe |
---|
43 | d_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.