1PERLCYGWIN(1)          Perl Programmers Reference Guide          PERLCYGWIN(1)
2
3
4

NAME

6       perlcygwin - Perl for Cygwin
7

SYNOPSIS

9       This document will help you configure, make, test and install Perl on
10       Cygwin.  This document also describes features of Cygwin that will
11       affect how Perl behaves at runtime.
12
13       NOTE: There are pre-built Perl packages available for Cygwin and a
14       version of Perl is provided in the normal Cygwin install.  If you do
15       not need to customize the configuration, consider using one of those
16       packages.
17

PREREQUISITES FOR COMPILING PERL ON CYGWIN

19   Cygwin = GNU+Cygnus+Windows (Don't leave UNIX without it)
20       The Cygwin tools are ports of the popular GNU development tools for
21       Win32 platforms.  They run thanks to the Cygwin library which provides
22       the UNIX system calls and environment these programs expect.  More
23       information about this project can be found at:
24
25       <http://www.cygwin.com/>
26
27       A recent net or commercial release of Cygwin is required.
28
29       At the time this document was last updated, Cygwin 1.7.10 was current.
30
31   Cygwin Configuration
32       While building Perl some changes may be necessary to your Cygwin setup
33       so that Perl builds cleanly.  These changes are not required for normal
34       Perl usage.
35
36       NOTE: The binaries that are built will run on all Win32 versions.  They
37       do not depend on your host system (WinXP/Win2K/Win7) or your Cygwin
38       configuration (binary/text mounts, cvgserver).  The only dependencies
39       come from hard-coded pathnames like "/usr/local".  However, your host
40       system and Cygwin configuration will affect Perl's runtime behavior
41       (see "TEST").
42
43       ·   "PATH"
44
45           Set the "PATH" environment variable so that Configure finds the
46           Cygwin versions of programs. Any not-needed Windows directories
47           should be removed or moved to the end of your "PATH".
48
49       ·   nroff
50
51           If you do not have nroff (which is part of the groff package),
52           Configure will not prompt you to install man pages.
53

CONFIGURE PERL ON CYGWIN

55       The default options gathered by Configure with the assistance of
56       hints/cygwin.sh will build a Perl that supports dynamic loading (which
57       requires a shared cygperl5_16.dll).
58
59       This will run Configure and keep a record:
60
61         ./Configure 2>&1 | tee log.configure
62
63       If you are willing to accept all the defaults run Configure with -de.
64       However, several useful customizations are available.
65
66   Stripping Perl Binaries on Cygwin
67       It is possible to strip the EXEs and DLLs created by the build process.
68       The resulting binaries will be significantly smaller.  If you want the
69       binaries to be stripped, you can either add a -s option when Configure
70       prompts you,
71
72         Any additional ld flags (NOT including libraries)? [none] -s
73         Any special flags to pass to g++ to create a dynamically loaded library?
74         [none] -s
75         Any special flags to pass to gcc to use dynamic linking? [none] -s
76
77       or you can edit hints/cygwin.sh and uncomment the relevant variables
78       near the end of the file.
79
80   Optional Libraries for Perl on Cygwin
81       Several Perl functions and modules depend on the existence of some
82       optional libraries.  Configure will find them if they are installed in
83       one of the directories listed as being used for library searches.  Pre-
84       built packages for most of these are available from the Cygwin
85       installer.
86
87       ·   "-lcrypt"
88
89           The crypt package distributed with Cygwin is a Linux compatible
90           56-bit DES crypt port by Corinna Vinschen.
91
92           Alternatively, the crypt libraries in GNU libc have been ported to
93           Cygwin.
94
95       ·   "-lgdbm_compat" ("use GDBM_File")
96
97           GDBM is available for Cygwin.
98
99           NOTE: The GDBM library only works on NTFS partitions.
100
101       ·   "-ldb" ("use DB_File")
102
103           BerkeleyDB is available for Cygwin.
104
105           NOTE: The BerkeleyDB library only completely works on NTFS
106           partitions.
107
108       ·   "cygserver" ("use IPC::SysV")
109
110           A port of SysV IPC is available for Cygwin.
111
112           NOTE: This has not been extensively tested.  In particular,
113           "d_semctl_semun" is undefined because it fails a Configure test and
114           on Win9x the shm*() functions seem to hang.  It also creates a
115           compile time dependency because perl.h includes <sys/ipc.h> and
116           <sys/sem.h> (which will be required in the future when compiling
117           CPAN modules). CURRENTLY NOT SUPPORTED!
118
119       ·   "-lutil"
120
121           Included with the standard Cygwin netrelease is the inetutils
122           package which includes libutil.a.
123
124   Configure-time Options for Perl on Cygwin
125       The INSTALL document describes several Configure-time options.  Some of
126       these will work with Cygwin, others are not yet possible.  Also, some
127       of these are experimental.  You can either select an option when
128       Configure prompts you or you can define (undefine) symbols on the
129       command line.
130
131       ·   "-Uusedl"
132
133           Undefining this symbol forces Perl to be compiled statically.
134
135       ·   "-Dusemymalloc"
136
137           By default Perl does not use the "malloc()" included with the Perl
138           source, because it was slower and not entirely thread-safe.  If you
139           want to force Perl to build with the old -Dusemymalloc define this.
140
141       ·   "-Uuseperlio"
142
143           Undefining this symbol disables the PerlIO abstraction.  PerlIO is
144           now the default; it is not recommended to disable PerlIO.
145
146       ·   "-Dusemultiplicity"
147
148           Multiplicity is required when embedding Perl in a C program and
149           using more than one interpreter instance.  This is only required
150           when you build a not-threaded perl with "-Uuseithreads".
151
152       ·   "-Uuse64bitint"
153
154           By default Perl uses 64 bit integers.  If you want to use smaller
155           32 bit integers, define this symbol.
156
157       ·   "-Duselongdouble"
158
159           gcc supports long doubles (12 bytes).  However, several additional
160           long double math functions are necessary to use them within Perl
161           ({atan2, cos, exp, floor, fmod, frexp, isnan, log, modf, pow, sin,
162           sqrt}l, strtold).  These are not yet available with newlib, the
163           Cygwin libc.
164
165       ·   "-Uuseithreads"
166
167           Define this symbol if you want not-threaded faster perl.
168
169       ·   "-Duselargefiles"
170
171           Cygwin uses 64-bit integers for internal size and position
172           calculations, this will be correctly detected and defined by
173           Configure.
174
175       ·   "-Dmksymlinks"
176
177           Use this to build perl outside of the source tree.  Details can be
178           found in the INSTALL document.  This is the recommended way to
179           build perl from sources.
180
181   Suspicious Warnings on Cygwin
182       You may see some messages during Configure that seem suspicious.
183
184       ·   Win9x and "d_eofnblk"
185
186           Win9x does not correctly report "EOF" with a non-blocking read on a
187           closed pipe.  You will see the following messages:
188
189             But it also returns -1 to signal EOF, so be careful!
190             WARNING: you can't distinguish between EOF and no data!
191
192             *** WHOA THERE!!! ***
193                 The recommended value for $d_eofnblk on this machine was "define"!
194                 Keep the recommended value? [y]
195
196           At least for consistency with WinNT, you should keep the
197           recommended value.
198
199       ·   Compiler/Preprocessor defines
200
201           The following error occurs because of the Cygwin "#define" of
202           "_LONG_DOUBLE":
203
204             Guessing which symbols your C compiler and preprocessor define...
205             try.c:<line#>: missing binary operator
206
207           This failure does not seem to cause any problems.  With older gcc
208           versions, "parse error" is reported instead of "missing binary
209           operator".
210

MAKE ON CYGWIN

212       Simply run make and wait:
213
214         make 2>&1 | tee log.make
215

TEST ON CYGWIN

217       There are two steps to running the test suite:
218
219         make test 2>&1 | tee log.make-test
220
221         cd t; ./perl harness 2>&1 | tee ../log.harness
222
223       The same tests are run both times, but more information is provided
224       when running as "./perl harness".
225
226       Test results vary depending on your host system and your Cygwin
227       configuration.  If a test can pass in some Cygwin setup, it is always
228       attempted and explainable test failures are documented.  It is possible
229       for Perl to pass all the tests, but it is more likely that some tests
230       will fail for one of the reasons listed below.
231
232   File Permissions on Cygwin
233       UNIX file permissions are based on sets of mode bits for
234       {read,write,execute} for each {user,group,other}.  By default Cygwin
235       only tracks the Win32 read-only attribute represented as the UNIX file
236       user write bit (files are always readable, files are executable if they
237       have a .{com,bat,exe} extension or begin with "#!", directories are
238       always readable and executable).  On WinNT with the ntea "CYGWIN"
239       setting, the additional mode bits are stored as extended file
240       attributes.  On WinNT with the default ntsec "CYGWIN" setting,
241       permissions use the standard WinNT security descriptors and access
242       control lists. Without one of these options, these tests will fail
243       (listing not updated yet):
244
245         Failed Test           List of failed
246         ------------------------------------
247         io/fs.t               5, 7, 9-10
248         lib/anydbm.t          2
249         lib/db-btree.t        20
250         lib/db-hash.t         16
251         lib/db-recno.t        18
252         lib/gdbm.t            2
253         lib/ndbm.t            2
254         lib/odbm.t            2
255         lib/sdbm.t            2
256         op/stat.t             9, 20 (.tmp not an executable extension)
257
258   NDBM_File and ODBM_File do not work on FAT filesystems
259       Do not use NDBM_File or ODBM_File on FAT filesystem.  They can be built
260       on a FAT filesystem, but many tests will fail:
261
262        ../ext/NDBM_File/ndbm.t       13  3328    71   59  83.10%  1-2 4 16-71
263        ../ext/ODBM_File/odbm.t      255 65280    ??   ??       %  ??
264        ../lib/AnyDBM_File.t           2   512    12    2  16.67%  1 4
265        ../lib/Memoize/t/errors.t      0   139    11    5  45.45%  7-11
266        ../lib/Memoize/t/tie_ndbm.t   13  3328     4    4 100.00%  1-4
267        run/fresh_perl.t                          97    1   1.03%  91
268
269       If you intend to run only on FAT (or if using AnyDBM_File on FAT), run
270       Configure with the -Ui_ndbm and -Ui_dbm options to prevent NDBM_File
271       and ODBM_File being built.
272
273       With NTFS (and no CYGWIN=nontsec), there should be no problems even if
274       perl was built on FAT.
275
276   "fork()" failures in io_* tests
277       A "fork()" failure may result in the following tests failing:
278
279         ext/IO/lib/IO/t/io_multihomed.t
280         ext/IO/lib/IO/t/io_sock.t
281         ext/IO/lib/IO/t/io_unix.t
282
283       See comment on fork in "Miscellaneous" below.
284

Specific features of the Cygwin port

286   Script Portability on Cygwin
287       Cygwin does an outstanding job of providing UNIX-like semantics on top
288       of Win32 systems.  However, in addition to the items noted above, there
289       are some differences that you should know about.  This is a very brief
290       guide to portability, more information can be found in the Cygwin
291       documentation.
292
293       ·   Pathnames
294
295           Cygwin pathnames are separated by forward (/) slashes, Universal
296           Naming Codes (//UNC) are also supported Since cygwin-1.7 non-POSIX
297           pathnames are disencouraged.  Names may contain all printable
298           characters.
299
300           File names are case insensitive, but case preserving.  A pathname
301           that contains a backslash or drive letter is a Win32 pathname, and
302           not subject to the translations applied to POSIX style pathnames,
303           but cygwin will warn you, so better convert them to POSIX.
304
305           For conversion we have "Cygwin::win_to_posix_path()" and
306           "Cygwin::posix_to_win_path()".
307
308           Since cygwin-1.7 pathnames are UTF-8 encoded.
309
310       ·   Text/Binary
311
312           Since cywgin-1.7 textmounts are deprecated and stronlgy
313           discouraged.
314
315           When a file is opened it is in either text or binary mode.  In text
316           mode a file is subject to CR/LF/Ctrl-Z translations.  With Cygwin,
317           the default mode for an "open()" is determined by the mode of the
318           mount that underlies the file. See "Cygwin::is_binmount"(). Perl
319           provides a "binmode()" function to set binary mode on files that
320           otherwise would be treated as text.  "sysopen()" with the "O_TEXT"
321           flag sets text mode on files that otherwise would be treated as
322           binary:
323
324               sysopen(FOO, "bar", O_WRONLY|O_CREAT|O_TEXT)
325
326           "lseek()", "tell()" and "sysseek()" only work with files opened in
327           binary mode.
328
329           The text/binary issue is covered at length in the Cygwin
330           documentation.
331
332       ·   PerlIO
333
334           PerlIO overrides the default Cygwin Text/Binary behaviour.  A file
335           will always be treated as binary, regardless of the mode of the
336           mount it lives on, just like it is in UNIX.  So CR/LF translation
337           needs to be requested in either the "open()" call like this:
338
339             open(FH, ">:crlf", "out.txt");
340
341           which will do conversion from LF to CR/LF on the output, or in the
342           environment settings (add this to your .bashrc):
343
344             export PERLIO=crlf
345
346           which will pull in the crlf PerlIO layer which does LF -> CRLF
347           conversion on every output generated by perl.
348
349       ·   .exe
350
351           The Cygwin "stat()", "lstat()" and "readlink()" functions make the
352           .exe extension transparent by looking for foo.exe when you ask for
353           foo (unless a foo also exists).  Cygwin does not require a .exe
354           extension, but gcc adds it automatically when building a program.
355           However, when accessing an executable as a normal file (e.g., cp in
356           a makefile) the .exe is not transparent.  The install program
357           included with Cygwin automatically appends a .exe when necessary.
358
359       ·   Cygwin vs. Windows process ids
360
361           Cygwin processes have their own pid, which is different from the
362           underlying windows pid.  Most posix compliant Proc functions expect
363           the cygwin pid, but several Win32::Process functions expect the
364           winpid. E.g. $$ is the cygwin pid of /usr/bin/perl, which is not
365           the winpid.  Use "Cygwin::winpid_to_pid()" and
366           "Cygwin::winpid_to_pid()" to translate between them.
367
368       ·   Cygwin vs. Windows errors
369
370           Under Cygwin, $^E is the same as $!.  When using Win32 API
371           Functions, use "Win32::GetLastError()" to get the last Windows
372           error.
373
374       ·   rebase errors on fork or system
375
376           Using "fork()" or "system()" out to another perl after loading
377           multiple dlls may result on a DLL baseaddress conflict. The
378           internal cygwin error looks like like the following:
379
380             0 [main] perl 8916 child_info_fork::abort: data segment start: parent
381             (0xC1A000) != child(0xA6A000)
382
383           or:
384
385             183 [main] perl 3588 C:\cygwin\bin\perl.exe: *** fatal error - unable to remap C:\cygwin\bin\cygsvn_subr-1-0.dll to same address as parent(0x6FB30000) != 0x6FE60000
386             46 [main] perl 3488 fork: child 3588 - died waiting for dll loading, errno11
387
388           See
389           http://cygwin.com/faq/faq-nochunks.html#faq.using.fixing-fork-failures
390           <http://cygwin.com/faq/faq-nochunks.html#faq.using.fixing-fork-
391           failures> It helps if not too many DLLs are loaded in memory so the
392           available address space is larger, e.g. stopping the MS Internet
393           Explorer might help.
394
395           Use the perlrebase or rebase utilities to resolve the conflicting
396           dll addresses.  The rebase package is included in the Cygwin setup.
397           Use setup.exe from <http://www.cygwin.com/setup.exe> to install it.
398
399           1. kill all perl processes and run "perlrebase" or
400
401           2. kill all cygwin processes and services, start dash from cmd.exe
402           and run "rebaseall".
403
404       ·   "chown()"
405
406           On WinNT "chown()" can change a file's user and group IDs.  On
407           Win9x "chown()" is a no-op, although this is appropriate since
408           there is no security model.
409
410       ·   Miscellaneous
411
412           File locking using the "F_GETLK" command to "fcntl()" is a stub
413           that returns "ENOSYS".
414
415           Win9x can not "rename()" an open file (although WinNT can).
416
417           The Cygwin "chroot()" implementation has holes (it can not restrict
418           file access by native Win32 programs).
419
420           Inplace editing "perl -i" of files doesn't work without doing a
421           backup of the file being edited "perl -i.bak" because of windowish
422           restrictions, therefore Perl adds the suffix ".bak" automatically
423           if you use "perl -i" without specifying a backup extension.
424
425   Prebuilt methods:
426       "Cwd::cwd"
427           Returns the current working directory.
428
429       "Cygwin::pid_to_winpid"
430           Translates a cygwin pid to the corresponding Windows pid (which may
431           or may not be the same).
432
433       "Cygwin::winpid_to_pid"
434           Translates a Windows pid to the corresponding cygwin pid (if any).
435
436       "Cygwin::win_to_posix_path"
437           Translates a Windows path to the corresponding cygwin path
438           respecting the current mount points. With a second non-null
439           argument returns an absolute path. Double-byte characters will not
440           be translated.
441
442       "Cygwin::posix_to_win_path"
443           Translates a cygwin path to the corresponding cygwin path
444           respecting the current mount points. With a second non-null
445           argument returns an absolute path. Double-byte characters will not
446           be translated.
447
448       "Cygwin::mount_table()"
449           Returns an array of [mnt_dir, mnt_fsname, mnt_type, mnt_opts].
450
451             perl -e 'for $i (Cygwin::mount_table) {print join(" ",@$i),"\n";}'
452             /bin c:\cygwin\bin system binmode,cygexec
453             /usr/bin c:\cygwin\bin system binmode
454             /usr/lib c:\cygwin\lib system binmode
455             / c:\cygwin system binmode
456             /cygdrive/c c: system binmode,noumount
457             /cygdrive/d d: system binmode,noumount
458             /cygdrive/e e: system binmode,noumount
459
460       "Cygwin::mount_flags"
461           Returns the mount type and flags for a specified mount point.  A
462           comma-separated string of mntent->mnt_type (always "system" or
463           "user"), then the mntent->mnt_opts, where the first is always
464           "binmode" or "textmode".
465
466             system|user,binmode|textmode,exec,cygexec,cygdrive,mixed,
467             notexec,managed,nosuid,devfs,proc,noumount
468
469           If the argument is "/cygdrive", then just the volume mount
470           settings, and the cygdrive mount prefix are returned.
471
472           User mounts override system mounts.
473
474             $ perl -e 'print Cygwin::mount_flags "/usr/bin"'
475             system,binmode,cygexec
476             $ perl -e 'print Cygwin::mount_flags "/cygdrive"'
477             binmode,cygdrive,/cygdrive
478
479       "Cygwin::is_binmount"
480           Returns true if the given cygwin path is binary mounted, false if
481           the path is mounted in textmode.
482
483       "Cygwin::sync_winenv"
484           Cygwin does not initialize all original Win32 environment
485           variables.  See the bottom of this page
486           http://cygwin.com/cygwin-ug-net/setup-env.html
487           <http://cygwin.com/cygwin-ug-net/setup-env.html> for "Restricted
488           Win32 environment".
489
490           Certain Win32 programs called from cygwin programs might need some
491           environment variable, such as e.g. ADODB needs
492           %COMMONPROGRAMFILES%.  Call Cygwin::sync_winenv() to copy all Win32
493           environment variables to your process and note that cygwin will
494           warn on every encounter of non-POSIX paths.
495

INSTALL PERL ON CYGWIN

497       This will install Perl, including man pages.
498
499         make install 2>&1 | tee log.make-install
500
501       NOTE: If "STDERR" is redirected "make install" will not prompt you to
502       install perl into /usr/bin.
503
504       You may need to be Administrator to run "make install".  If you are
505       not, you must have write access to the directories in question.
506
507       Information on installing the Perl documentation in HTML format can be
508       found in the INSTALL document.
509

MANIFEST ON CYGWIN

511       These are the files in the Perl release that contain references to
512       Cygwin.  These very brief notes attempt to explain the reason for all
513       conditional code.  Hopefully, keeping this up to date will allow the
514       Cygwin port to be kept as clean as possible.
515
516       Documentation
517             INSTALL README.cygwin README.win32 MANIFEST
518             pod/perl.pod pod/perlport.pod pod/perlfaq3.pod
519             pod/perldelta.pod pod/perl5004delta.pod pod/perl56delta.pod
520             pod/perl561delta.pod pod/perl570delta.pod pod/perl572delta.pod
521             pod/perl573delta.pod pod/perl58delta.pod pod/perl581delta.pod
522             pod/perl590delta.pod pod/perlhist.pod pod/perlmodlib.pod
523             pod/perltoc.pod Porting/Glossary pod/perlgit.pod
524             Porting/checkAUTHORS.pl
525             dist/Cwd/Changes ext/Compress-Raw-Zlib/Changes
526             ext/Compress-Raw-Zlib/README ext/Compress-Zlib/Changes
527             ext/DB_File/Changes ext/Encode/Changes ext/Sys-Syslog/Changes
528             ext/Time-HiRes/Changes ext/Win32API-File/Changes lib/CGI/Changes
529             lib/ExtUtils/CBuilder/Changes lib/ExtUtils/Changes lib/ExtUtils/NOTES
530             lib/ExtUtils/PATCHING lib/ExtUtils/README lib/Module/Build/Changes
531             lib/Net/Ping/Changes lib/Test/Harness/Changes
532             lib/Term/ANSIColor/ChangeLog lib/Term/ANSIColor/README README.symbian
533             symbian/TODO
534
535       Build, Configure, Make, Install
536             cygwin/Makefile.SHs
537             ext/IPC/SysV/hints/cygwin.pl
538             ext/NDBM_File/hints/cygwin.pl
539             ext/ODBM_File/hints/cygwin.pl
540             hints/cygwin.sh
541             Configure             - help finding hints from uname,
542                                     shared libperl required for dynamic loading
543             Makefile.SH Cross/Makefile-cross-SH
544                                   - linklibperl
545             Porting/patchls       - cygwin in port list
546             installman            - man pages with :: translated to .
547             installperl           - install dll, install to 'pods'
548             makedepend.SH         - uwinfix
549             regen_lib.pl          - file permissions
550
551             NetWare/Makefile
552             plan9/mkfile
553             symbian/sanity.pl symbian/sisify.pl
554             hints/uwin.sh
555             vms/descrip_mms.template
556             win32/Makefile win32/makefile.mk
557
558       Tests
559             t/io/fs.t             - no file mode checks if not ntsec
560                                     skip rename() check when not check_case:relaxed
561             t/io/tell.t           - binmode
562             t/lib/cygwin.t        - builtin cygwin function tests
563             t/op/groups.t         - basegroup has ID = 0
564             t/op/magic.t          - $^X/symlink WORKAROUND, s/.exe//
565             t/op/stat.t           - no /dev, skip Win32 ftCreationTime quirk
566                                     (cache manager sometimes preserves ctime of file
567                                     previously created and deleted), no -u (setuid)
568             t/op/taint.t          - can't use empty path under Cygwin Perl
569             t/op/time.t           - no tzset()
570
571       Compiled Perl Source
572             EXTERN.h              - __declspec(dllimport)
573             XSUB.h                - __declspec(dllexport)
574             cygwin/cygwin.c       - os_extras (getcwd, spawn, and several Cygwin:: functions)
575             perl.c                - os_extras, -i.bak
576             perl.h                - binmode
577             doio.c                - win9x can not rename a file when it is open
578             pp_sys.c              - do not define h_errno, init _pwent_struct.pw_comment
579             util.c                - use setenv
580             util.h                - PERL_FILE_IS_ABSOLUTE macro
581             pp.c                  - Comment about Posix vs IEEE math under Cygwin
582             perlio.c              - CR/LF mode
583             perliol.c             - Comment about EXTCONST under Cygwin
584
585       Compiled Module Source
586             ext/Compress-Raw-Zlib/Makefile.PL
587                                   - Can't install via CPAN shell under Cygwin
588             ext/Compress-Raw-Zlib/zlib-src/zutil.h
589                                   - Cygwin is Unix-like and has vsnprintf
590             ext/Errno/Errno_pm.PL - Special handling for Win32 Perl under Cygwin
591             ext/POSIX/POSIX.xs    - tzname defined externally
592             ext/SDBM_File/sdbm/pair.c
593                                   - EXTCONST needs to be redefined from EXTERN.h
594             ext/SDBM_File/sdbm/sdbm.c
595                                   - binary open
596             ext/Sys/Syslog/Syslog.xs
597                                   - Cygwin has syslog.h
598             ext/Sys/Syslog/win32/compile.pl
599                                   - Convert paths to Windows paths
600             ext/Time-HiRes/HiRes.xs
601                                   - Various timers not available
602             ext/Time-HiRes/Makefile.PL
603                                   - Find w32api/windows.h
604             ext/Win32/Makefile.PL - Use various libraries under Cygwin
605             ext/Win32/Win32.xs    - Child dir and child env under Cygwin
606             ext/Win32API-File/File.xs
607                                   - _open_osfhandle not implemented under Cygwin
608             ext/Win32CORE/Win32CORE.c
609                                   - __declspec(dllexport)
610
611       Perl Modules/Scripts
612             ext/B/t/OptreeCheck.pm - Comment about stderr/stdout order under Cygwin
613             ext/Digest-SHA/bin/shasum
614                                   - Use binary mode under Cygwin
615             ext/Sys/Syslog/win32/Win32.pm
616                                   - Convert paths to Windows paths
617             ext/Time-HiRes/HiRes.pm
618                                   - Comment about various timers not available
619             ext/Win32API-File/File.pm
620                                   - _open_osfhandle not implemented under Cygwin
621             ext/Win32CORE/Win32CORE.pm
622                                   - History of Win32CORE under Cygwin
623             lib/CGI.pm            - binmode and path separator
624             lib/CPANPLUS/Dist/MM.pm - Commented out code that fails under Win32/Cygwin
625             lib/CPANPLUS/Internals/Constants/Report.pm
626                                   - OS classifications
627             lib/CPANPLUS/Internals/Constants.pm
628                                   - Constants for Cygwin
629             lib/CPANPLUS/Internals/Report.pm
630                                   - Example of Cygwin report
631             lib/CPANPLUS/Module.pm
632                                   - Abort if running on old Cygwin version
633             lib/Cwd.pm            - hook to internal Cwd::cwd
634             lib/ExtUtils/CBuilder/Platform/cygwin.pm
635                                   - use gcc for ld, and link to libperl.dll.a
636             lib/ExtUtils/CBuilder.pm
637                                   - Cygwin is Unix-like
638             lib/ExtUtils/Install.pm - Install and rename issues under Cygwin
639             lib/ExtUtils/MM.pm    - OS classifications
640             lib/ExtUtils/MM_Any.pm - Example for Cygwin
641             lib/ExtUtils/MakeMaker.pm
642                                   - require MM_Cygwin.pm
643             lib/ExtUtils/MM_Cygwin.pm
644                                   - canonpath, cflags, manifypods, perl_archive
645             lib/File/Fetch.pm     - Comment about quotes using a Cygwin example
646             lib/File/Find.pm      - on remote drives stat() always sets st_nlink to 1
647             lib/File/Spec/Cygwin.pm - case_tolerant
648             lib/File/Spec/Unix.pm - preserve //unc
649             lib/File/Spec/Win32.pm - References a message on cygwin.com
650             lib/File/Spec.pm      - Pulls in lib/File/Spec/Cygwin.pm
651             lib/File/Temp.pm      - no directory sticky bit
652             lib/Module/Build/Compat.pm - Comment references 'make' under Cygwin
653             lib/Module/Build/Platform/cygwin.pm
654                                   - Use '.' for man page separator
655             lib/Module/Build.pm   - Cygwin is Unix-like
656             lib/Module/CoreList.pm - List of all module files and versions
657             lib/Net/Domain.pm     - No domainname command under Cygwin
658             lib/Net/Netrc.pm      - Bypass using stat() under Cygwin
659             lib/Net/Ping.pm       - ECONREFUSED is EAGAIN under Cygwin
660             lib/Pod/Find.pm       - Set 'pods' dir
661             lib/Pod/Perldoc/ToMan.pm - '-c' switch for pod2man
662             lib/Pod/Perldoc.pm    - Use 'less' pager, and use .exe extension
663             lib/Term/ANSIColor.pm - Cygwin terminal info
664             lib/perl5db.pl        - use stdin not /dev/tty
665             utils/perlbug.PL      - Add CYGWIN environment variable to report
666
667       Perl Module Tests
668             dist/Cwd/t/cwd.t
669             ext/Compress-Zlib/t/14gzopen.t
670             ext/DB_File/t/db-btree.t
671             ext/DB_File/t/db-hash.t
672             ext/DB_File/t/db-recno.t
673             ext/DynaLoader/t/DynaLoader.t
674             ext/File-Glob/t/basic.t
675             ext/GDBM_File/t/gdbm.t
676             ext/POSIX/t/sysconf.t
677             ext/POSIX/t/time.t
678             ext/SDBM_File/t/sdbm.t
679             ext/Sys/Syslog/t/syslog.t
680             ext/Time-HiRes/t/HiRes.t
681             ext/Win32/t/Unicode.t
682             ext/Win32API-File/t/file.t
683             ext/Win32CORE/t/win32core.t
684             lib/AnyDBM_File.t
685             lib/Archive/Extract/t/01_Archive-Extract.t
686             lib/Archive/Tar/t/02_methods.t
687             lib/CPANPLUS/t/05_CPANPLUS-Internals-Fetch.t
688             lib/CPANPLUS/t/20_CPANPLUS-Dist-MM.t
689             lib/ExtUtils/t/Embed.t
690             lib/ExtUtils/t/eu_command.t
691             lib/ExtUtils/t/MM_Cygwin.t
692             lib/ExtUtils/t/MM_Unix.t
693             lib/File/Compare.t
694             lib/File/Copy.t
695             lib/File/Find/t/find.t
696             lib/File/Path.t
697             lib/File/Spec/t/crossplatform.t
698             lib/File/Spec/t/Spec.t
699             lib/Module/Build/t/destinations.t
700             lib/Net/hostent.t
701             lib/Net/Ping/t/110_icmp_inst.t
702             lib/Net/Ping/t/500_ping_icmp.t
703             lib/Net/t/netrc.t
704             lib/Pod/Simple/t/perlcyg.pod
705             lib/Pod/Simple/t/perlcygo.txt
706             lib/Pod/Simple/t/perlfaq.pod
707             lib/Pod/Simple/t/perlfaqo.txt
708             lib/User/grent.t
709             lib/User/pwent.t
710

BUGS ON CYGWIN

712       Support for swapping real and effective user and group IDs is
713       incomplete.  On WinNT Cygwin provides "setuid()", "seteuid()",
714       "setgid()" and "setegid()".  However, additional Cygwin calls for
715       manipulating WinNT access tokens and security contexts are required.
716

AUTHORS

718       Charles Wilson <cwilson@ece.gatech.edu>, Eric Fifer
719       <egf7@columbia.edu>, alexander smishlajev <als@turnhere.com>, Steven
720       Morlock <newspost@morlock.net>, Sebastien Barre
721       <Sebastien.Barre@utc.fr>, Teun Burgers <burgers@ecn.nl>, Gerrit P.
722       Haase <gp@familiehaase.de>, Reini Urban <rurban@cpan.org>, Jan Dubois
723       <jand@activestate.com>, Jerry D. Hedden <jdhedden@cpan.org>.
724

HISTORY

726       Last updated: 2012-02-08
727
728
729
730perl v5.16.3                      2013-03-04                     PERLCYGWIN(1)
Impressum