File: perlcygwin.html

package info (click to toggle)
perl-doc-html 5.24.0-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 38,756 kB
  • ctags: 26,472
  • sloc: xml: 36; makefile: 2
file content (910 lines) | stat: -rw-r--r-- 78,026 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
  <title>perlcygwin - perldoc.perl.org</title>
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  <meta http-equiv="Content-Language" content="en-gb">
  <link rel="search" type="application/opensearchdescription+xml" title="Search perldoc.perl.org" href="/static/search.xml"/>
  <link href="static/css-20100830.css" rel="stylesheet" rev="stylesheet" type="text/css" media="screen">
  <link href="static/exploreperl.css" rel="stylesheet" rev="stylesheet" type="text/css">
</head>

<body onLoad="perldoc.startup();" onPageShow="if (event.persisted) perldoc.startup();">
    <div id="page">
      
      <div id="header">
	<div id="homepage_link">
	  <a href="index.html"></a>
	</div>
	<div id="strapline">
	  Perl Programming Documentation
	</div>
	<div id="download_link" class="download">
	  <a href="http://www.perl.org/get.html">Download Perl</a>
	</div>
	<div id="explore_link" class="download">
	  <a id="explore_anchor" href="#">Explore</a>
	</div>
      </div>
      
      <div id="body">
        <div id="left_column">
          <div class="side_group">
            
	    <div class="side_panel doc_panel">
              <p>Manual</p>
              <ul>
                <li><a href="index-overview.html">Overview</a>
                <li><a href="index-tutorials.html">Tutorials</a>
                <li><a href="index-faq.html">FAQs</a>
                <li><a href="index-history.html">History / Changes</a>
                <li><a href="index-licence.html">License</a>
              </ul>
            </div>
            <div class="side_panel doc_panel">
              <p>Reference</p>
              <ul>
                <li><a href="index-language.html">Language</a>
                <li><a href="index-functions.html">Functions</a>
                <li><a href="perlop.html">Operators</a>
                <li><a href="perlvar.html">Special Variables</a>
                <li><a href="index-pragmas.html">Pragmas</a>
                <li><a href="index-utilities.html">Utilities</a>
                <li><a href="index-internals.html">Internals</a>
                <li><a href="index-platforms.html">Platform Specific</a>
              </ul>
            </div>
            <div class="side_panel doc_panel">
              <p>Modules</p>
              <ul>
		<li>
		
                
                  
		    
		  
		
                  
		    
		  
		
                  
		    
		  
		
                  
		    
		  
		
                  
		    
		  
		
                  
		    
		  
		
                  
		    
		  
		
                  
		    
		  
		
                  
		    
		  
		
                  
		
                  
		
                  
		    
		  
		
                  
		    
		  
		
                  
		    
		  
		
                  
		    
		  
		
                  
		    
		  
		
                  
		
                  
		
                  
		    
		  
		
                  
		    
		  
		
                  
		    
		  
		
                  
		
                  
		
                  
		    
		  
		
                  
		
                  
		
		
                    <a href="index-modules-A.html">A</a>
                    
                      
                        &bull;
                      
                    
                
                    <a href="index-modules-B.html">B</a>
                    
                      
                        &bull;
                      
                    
                
                    <a href="index-modules-C.html">C</a>
                    
                      
                        &bull;
                      
                    
                
                    <a href="index-modules-D.html">D</a>
                    
                      
                        &bull;
                      
                    
                
                    <a href="index-modules-E.html">E</a>
                    
                      
                        <li>
                      
                    
                
                    <a href="index-modules-F.html">F</a>
                    
                      
                        &bull;
                      
                    
                
                    <a href="index-modules-G.html">G</a>
                    
                      
                        &bull;
                      
                    
                
                    <a href="index-modules-H.html">H</a>
                    
                      
                        &bull;
                      
                    
                
                    <a href="index-modules-I.html">I</a>
                    
                      
                        &bull;
                      
                    
                
                    <a href="index-modules-L.html">L</a>
                    
                      
                        <li>
                      
                    
                
                    <a href="index-modules-M.html">M</a>
                    
                      
                        &bull;
                      
                    
                
                    <a href="index-modules-N.html">N</a>
                    
                      
                        &bull;
                      
                    
                
                    <a href="index-modules-O.html">O</a>
                    
                      
                        &bull;
                      
                    
                
                    <a href="index-modules-P.html">P</a>
                    
                      
                        &bull;
                      
                    
                
                    <a href="index-modules-S.html">S</a>
                    
                      
                        <li>
                      
                    
                
                    <a href="index-modules-T.html">T</a>
                    
                      
                        &bull;
                      
                    
                
                    <a href="index-modules-U.html">U</a>
                    
                      
                        &bull;
                      
                    
                
                    <a href="index-modules-X.html">X</a>
                    
                
              </ul>
            </div>
            
	      <div class="side_panel doc_panel">
		<p>Tools</p>
		<ul>
		  <li><a href="preferences.html">Preferences</a>
		</ul>
	      </div>
            
          </div>
        </div>
        <div id="centre_column">
          <div id="content_header">
            <div id="title_bar">
              <div id="page_name">
                <h1>perlcygwin</h1>
              </div>
              <div id="perl_version">
                Perl 5 version 22.0 documentation
              </div>
              <div class="page_links" id="page_links_top">
                <a href="#" onClick="toolbar.goToTop();return false;">Go to top</a>
		
              </div>
	      <div class="page_links" id="page_links_bottom">
		
                  <a href="#" id="page_index_toggle">Show page index</a> &bull;
		
                <a href="#" id="recent_pages_toggle">Show recent pages</a>		
	      </div>
	      <div id="search_form">
		<form action="search.html" method="GET" id="search">
		  <input type="text" name="q" id="search_box" alt="Search">
		</form>
	      </div>
            </div>
            <div id="breadcrumbs">
                
    <a href="index.html">Home</a> &gt;
    
      
        <a href="index-platforms.html">Platform specific</a> &gt;
      
    
    perlcygwin
  

            </div>
          </div>
          <div id="content_body">
	    <!--[if lt IE 7]>
 <div class="noscript">
   <p>
     <strong>It looks like you're using Internet Explorer 6. This is a very old
     browser which does not offer full support for modern websites.</strong>
   </p>
   <p>
     Unfortunately this means that this website will not work on
     your computer.
   </p>
   <p>
     Don't miss out though! To view the site (and get a better experience from
     many other websites), simply upgrade to
     <a href="http://www.microsoft.com/windows/Internet-explorer/default.aspx">Internet
Explorer 8</a>
     or download an alternative browser such as
     <a href="http://www.mozilla.com/en-US/firefox/firefox.html">Firefox</a>,
     <a href="http://www.apple.com/safari/download/">Safari</a>, or
     <a href="http://www.google.co.uk/chrome">Google Chrome</a>.
   </p>
   <p>
     All of these browsers are free. If you're using a PC at work, you may
     need to contact your IT administrator.
   </p>
 </div>
<![endif]-->
	    <noscript>
	      <div class="noscript">
	      <p>
                <strong>Please note: Many features of this site require JavaScript. You appear to have JavaScript disabled,
	        or are running a non-JavaScript capable web browser.</strong>
	      </p>
	      <p>
		To get the best experience, please enable JavaScript or download a modern web browser such as <a href="http://www.microsoft.com/windows/Internet-explorer/default.aspx">Internet Explorer 8</a>, <a href="http://www.mozilla.com/en-US/firefox/firefox.html">Firefox</a>, <a href="http://www.apple.com/safari/download/">Safari</a>, or <a href="http://www.google.co.uk/chrome">Google Chrome</a>.
              </p>
	      </div>
	    </noscript>

	    <div id="recent_pages" class="hud_container">
	      <div id="recent_pages_header" class="hud_header">
		<div id="recent_pages_close" class="hud_close"><a href="#" onClick="recentPages.hide();return false;"></a></div>
		<div id="recent_pages_title" class="hud_title"><span class="hud_span_top">Recently read</span></div>
		<div id="recent_pages_topright" class="hud_topright"></div>
	      </div>
	      <div id="recent_pages_content" class="hud_content">
	      </div>
	      <div id="recent_pages_footer" class="hud_footer">
		<div id="recent_pages_bottomleft" class="hud_bottomleft"></div>
		<div id="recent_pages_bottom" class="hud_bottom"><span class="hud_span_bottom"></span></div>
		<div id="recent_pages_resize" class="hud_resize"></div>
	      </div>
	    </div>
  
	    <div id="from_search"></div>
            <h1>perlcygwin</h1>


  <!--    -->
<ul><li><a href="#NAME">NAME</a><li><a href="#SYNOPSIS">SYNOPSIS</a><li><a href="#PREREQUISITES-FOR-COMPILING-PERL-ON-CYGWIN">PREREQUISITES FOR COMPILING PERL ON CYGWIN</a><ul><li><a href="#Cygwin-%3d-GNU%2bCygnus%2bWindows-(Don't-leave-UNIX-without-it)">Cygwin = GNU+Cygnus+Windows (Don't leave UNIX without it)</a><li><a href="#Cygwin-Configuration">Cygwin Configuration</a></ul><li><a href="#CONFIGURE-PERL-ON-CYGWIN">CONFIGURE PERL ON CYGWIN</a><ul><li><a href="#Stripping-Perl-Binaries-on-Cygwin">Stripping Perl Binaries on Cygwin</a><li><a href="#Optional-Libraries-for-Perl-on-Cygwin">Optional Libraries for Perl on Cygwin</a><li><a href="#Configure-time-Options-for-Perl-on-Cygwin">Configure-time Options for Perl on Cygwin</a><li><a href="#Suspicious-Warnings-on-Cygwin">Suspicious Warnings on Cygwin</a></ul><li><a href="#MAKE-ON-CYGWIN">MAKE ON CYGWIN</a><li><a href="#TEST-ON-CYGWIN">TEST ON CYGWIN</a><ul><li><a href="#File-Permissions-on-Cygwin">File Permissions on Cygwin</a><li><a href="#NDBM_File-and-ODBM_File-do-not-work-on-FAT-filesystems">NDBM_File and ODBM_File do not work on FAT filesystems</a><li><a href="#fork()-failures-in-io_*-tests">fork() failures in io_* tests</a></ul><li><a href="#Specific-features-of-the-Cygwin-port">Specific features of the Cygwin port</a><ul><li><a href="#Script-Portability-on-Cygwin">Script Portability on Cygwin</a><li><a href="#Prebuilt-methods%3a">Prebuilt methods:</a></ul><li><a href="#INSTALL-PERL-ON-CYGWIN">INSTALL PERL ON CYGWIN</a><li><a href="#MANIFEST-ON-CYGWIN">MANIFEST ON CYGWIN</a><li><a href="#BUGS-ON-CYGWIN">BUGS ON CYGWIN</a><li><a href="#AUTHORS">AUTHORS</a><li><a href="#HISTORY">HISTORY</a></ul><a name="NAME"></a><h1>NAME</h1>
<p>perlcygwin - Perl for Cygwin</p>
<a name="SYNOPSIS"></a><h1>SYNOPSIS</h1>
<p>This document will help you configure, make, test and install Perl
on Cygwin.  This document also describes features of Cygwin that will
affect how Perl behaves at runtime.</p>
<p><b>NOTE:</b> There are pre-built Perl packages available for Cygwin and a
version of Perl is provided in the normal Cygwin install.  If you do
not need to customize the configuration, consider using one of those
packages.</p>
<a name="PREREQUISITES-FOR-COMPILING-PERL-ON-CYGWIN"></a><h1>PREREQUISITES FOR COMPILING PERL ON CYGWIN</h1>
<a name="Cygwin-%3d-GNU%2bCygnus%2bWindows-(Don't-leave-UNIX-without-it)"></a><h2>Cygwin = GNU+Cygnus+Windows (Don't leave UNIX without it)</h2>
<p>The Cygwin tools are ports of the popular GNU development tools for Win32
platforms.  They run thanks to the Cygwin library which provides the UNIX
system calls and environment these programs expect.  More information
about this project can be found at:</p>
<p><a href="http://www.cygwin.com/">http://www.cygwin.com/</a></p>
<p>A recent net or commercial release of Cygwin is required.</p>
<p>At the time this document was last updated, Cygwin 1.7.16 was current.</p>
<a name="Cygwin-Configuration"></a><h2>Cygwin Configuration</h2>
<p>While building Perl some changes may be necessary to your Cygwin setup so
that Perl builds cleanly.  These changes are <b>not</b> required for normal
Perl usage.</p>
<p><b>NOTE:</b> The binaries that are built will run on all Win32 versions.
They do not depend on your host system (WinXP/Win2K/Win7) or your
Cygwin configuration (binary/text mounts, cvgserver).
The only dependencies come from hard-coded pathnames like <i>/usr/local</i>.
However, your host system and Cygwin configuration will affect Perl's
runtime behavior (see <a href="#TEST">TEST</a>).</p>
<ul>
<li><a name="*-PATH"></a><b><code class="inline"><span class="w">PATH</span></code>
</b>
<p>Set the <code class="inline"><span class="w">PATH</span></code>
 environment variable so that Configure finds the Cygwin
versions of programs. Any not-needed Windows directories should be removed or
moved to the end of your <code class="inline"><span class="w">PATH</span></code>
.</p>
</li>
<li><a name="*-_nroff_"></a><b><i>nroff</i></b>
<p>If you do not have <i>nroff</i> (which is part of the <i>groff</i> package),
Configure will <b>not</b> prompt you to install <i>man</i> pages.</p>
</li>
</ul>
<a name="CONFIGURE-PERL-ON-CYGWIN"></a><h1>CONFIGURE PERL ON CYGWIN</h1>
<p>The default options gathered by Configure with the assistance of
<i>hints/cygwin.sh</i> will build a Perl that supports dynamic loading
(which requires a shared <i>cygperl5_16.dll</i>).</p>
<p>This will run Configure and keep a record:</p>
<pre class="verbatim"><ol><li>  ./Configure 2&gt;&amp;1 | tee log.configure</li></ol></pre><p>If you are willing to accept all the defaults run Configure with <b>-de</b>.
However, several useful customizations are available.</p>
<a name="Stripping-Perl-Binaries-on-Cygwin"></a><h2>Stripping Perl Binaries on Cygwin</h2>
<p>It is possible to strip the EXEs and DLLs created by the build process.
The resulting binaries will be significantly smaller.  If you want the
binaries to be stripped, you can either add a <b>-s</b> option when Configure
prompts you,</p>
<pre class="verbatim"><ol><li>  Any additional ld flags (NOT including libraries)? [none] -s</li><li>  Any special flags to pass to g++ to create a dynamically loaded library?</li><li>  [none] -s</li><li>  Any special flags to pass to gcc to use dynamic linking? [none] -s</li></ol></pre><p>or you can edit <i>hints/cygwin.sh</i> and uncomment the relevant variables
near the end of the file.</p>
<a name="Optional-Libraries-for-Perl-on-Cygwin"></a><h2>Optional Libraries for Perl on Cygwin</h2>
<p>Several Perl functions and modules depend on the existence of
some optional libraries.  Configure will find them if they are
installed in one of the directories listed as being used for library
searches.  Pre-built packages for most of these are available from
the Cygwin installer.</p>
<ul>
<li><a name="*--lcrypt"></a><b><code class="inline">-<span class="w">lcrypt</span></code>
</b>
<p>The crypt package distributed with Cygwin is a Linux compatible 56-bit
DES crypt port by Corinna Vinschen.</p>
<p>Alternatively, the crypt libraries in GNU libc have been ported to Cygwin.</p>
</li>
<li><a name="*--lgdbm_compat-(use-GDBM_File)"></a><b><code class="inline">-<span class="w">lgdbm_compat</span></code>
 (<code class="inline"><a class="l_k" href="functions/use.html">use</a> <span class="w">GDBM_File</span></code>
)</b>
<p>GDBM is available for Cygwin.</p>
<p>NOTE: The GDBM library only works on NTFS partitions.</p>
</li>
<li><a name="*--ldb-(use-DB_File)"></a><b><code class="inline">-<span class="w">ldb</span></code>
 (<code class="inline"><a class="l_k" href="functions/use.html">use</a> <span class="w">DB_File</span></code>
)</b>
<p>BerkeleyDB is available for Cygwin.</p>
<p>NOTE: The BerkeleyDB library only completely works on NTFS partitions.</p>
</li>
<li><a name="*-cygserver-(use-IPC%3a%3aSysV)"></a><b><code class="inline"><span class="w">cygserver</span></code>
 (<code class="inline"><a class="l_k" href="functions/use.html">use</a> <span class="w">IPC::SysV</span></code>
)</b>
<p>A port of SysV IPC is available for Cygwin.</p>
<p>NOTE: This has <b>not</b> been extensively tested.  In particular,
<code class="inline"><span class="w">d_semctl_semun</span></code>
 is undefined because it fails a Configure test
and on Win9x the <i>shm*()</i> functions seem to hang.  It also creates
a compile time dependency because <i>perl.h</i> includes <i>&lt;sys/ipc.h</i>&gt;
and <i>&lt;sys/sem.h</i>&gt; (which will be required in the future when compiling
CPAN modules). CURRENTLY NOT SUPPORTED!</p>
</li>
<li><a name="*--lutil"></a><b><code class="inline">-<span class="w">lutil</span></code>
</b>
<p>Included with the standard Cygwin netrelease is the inetutils package
which includes libutil.a.</p>
</li>
</ul>
<a name="Configure-time-Options-for-Perl-on-Cygwin"></a><h2>Configure-time Options for Perl on Cygwin</h2>
<p>The <i>INSTALL</i> document describes several Configure-time options.  Some of
these will work with Cygwin, others are not yet possible.  Also, some of
these are experimental.  You can either select an option when Configure
prompts you or you can define (undefine) symbols on the command line.</p>
<ul>
<li><a name="*--Uusedl"></a><b><code class="inline">-<span class="w">Uusedl</span></code>
</b>
<p>Undefining this symbol forces Perl to be compiled statically.</p>
</li>
<li><a name="*--Dusemymalloc"></a><b><code class="inline">-<span class="w">Dusemymalloc</span></code>
</b>
<p>By default Perl does not use the <code class="inline"><span class="i">malloc</span><span class="s">(</span><span class="s">)</span></code>
 included with the Perl source,
because it was slower and not entirely thread-safe.  If you want to force
Perl to build with the old -Dusemymalloc define this.</p>
</li>
<li><a name="*--Uuseperlio"></a><b><code class="inline">-<span class="w">Uuseperlio</span></code>
</b>
<p>Undefining this symbol disables the PerlIO abstraction.  PerlIO is now the
default; it is not recommended to disable PerlIO.</p>
</li>
<li><a name="*--Dusemultiplicity"></a><b><code class="inline">-<span class="w">Dusemultiplicity</span></code>
</b>
<p>Multiplicity is required when embedding Perl in a C program and using
more than one interpreter instance.  This is only required when you build
a not-threaded perl with <code class="inline">-<span class="w">Uuseithreads</span></code>
.</p>
</li>
<li><a name="*--Uuse64bitint"></a><b><code class="inline">-<span class="w">Uuse64bitint</span></code>
</b>
<p>By default Perl uses 64 bit integers.  If you want to use smaller 32 bit
integers, define this symbol.</p>
</li>
<li><a name="*--Duselongdouble"></a><b><code class="inline">-<span class="w">Duselongdouble</span></code>
</b>
<p><i>gcc</i> supports long doubles (12 bytes).  However, several additional
long double math functions are necessary to use them within Perl
(<i>{atan2, cos, exp, floor, fmod, frexp, isnan, log, modf, pow, sin, sqrt}l,
strtold</i>).
These are <b>not</b> yet available with newlib, the Cygwin libc.</p>
</li>
<li><a name="*--Uuseithreads"></a><b><code class="inline">-<span class="w">Uuseithreads</span></code>
</b>
<p>Define this symbol if you want not-threaded faster perl.</p>
</li>
<li><a name="*--Duselargefiles"></a><b><code class="inline">-<span class="w">Duselargefiles</span></code>
</b>
<p>Cygwin uses 64-bit integers for internal size and position calculations,
this will be correctly detected and defined by Configure.</p>
</li>
<li><a name="*--Dmksymlinks"></a><b><code class="inline">-<span class="w">Dmksymlinks</span></code>
</b>
<p>Use this to build perl outside of the source tree.  Details can be
found in the <i>INSTALL</i> document.  This is the recommended way to
build perl from sources.</p>
</li>
</ul>
<a name="Suspicious-Warnings-on-Cygwin"></a><h2>Suspicious Warnings on Cygwin</h2>
<p>You may see some messages during Configure that seem suspicious.</p>
<ul>
<li><a name="*-Win9x-and-d_eofnblk"></a><b>Win9x and <code class="inline"><span class="w">d_eofnblk</span></code>
</b>
<p>Win9x does not correctly report <code class="inline"><span class="w">EOF</span></code>
 with a non-blocking read on a
closed pipe.  You will see the following messages:</p>
<pre class="verbatim"><ol><li>  But it also returns -1 to signal EOF, so be careful!</li><li>  WARNING: you can't distinguish between EOF and no data!</li><li></li><li>  *** WHOA THERE!!! ***</li><li>      The recommended value for $d_eofnblk on this machine was "define"!</li><li>      Keep the recommended value? [y]</li></ol></pre><p>At least for consistency with WinNT, you should keep the recommended
value.</p>
</li>
<li><a name="*-Compiler%2fPreprocessor-defines"></a><b>Compiler/Preprocessor defines</b>
<p>The following error occurs because of the Cygwin <code class="inline"><span class="c">#define</span></code>
 of
<code class="inline"><span class="w">_LONG_DOUBLE</span></code>
:</p>
<pre class="verbatim"><ol><li>  Guessing which symbols your C compiler and preprocessor define...</li><li>  try.c:&lt;line#&gt;: missing binary operator</li></ol></pre><p>This failure does not seem to cause any problems.  With older gcc
versions, "parse error" is reported instead of "missing binary
operator".</p>
</li>
</ul>
<a name="MAKE-ON-CYGWIN"></a><h1>MAKE ON CYGWIN</h1>
<p>Simply run <i>make</i> and wait:</p>
<pre class="verbatim"><ol><li>  <span class="w">make</span> <span class="n">2</span>&gt;<span class="i">&amp;1</span> | <span class="w">tee</span> <a class="l_k" href="functions/log.html">log</a>.<span class="w">make</span></li></ol></pre><a name="TEST-ON-CYGWIN"></a><h1>TEST ON CYGWIN</h1>
<p>There are two steps to running the test suite:</p>
<pre class="verbatim"><ol><li>  make test 2&gt;&amp;1 | tee log.make-test</li><li></li><li>  cd t; ./perl harness 2&gt;&amp;1 | tee ../log.harness</li></ol></pre><p>The same tests are run both times, but more information is provided when
running as <code class="inline">./perl harness</code>.</p>
<p>Test results vary depending on your host system and your Cygwin
configuration.  If a test can pass in some Cygwin setup, it is always
attempted and explainable test failures are documented.  It is possible
for Perl to pass all the tests, but it is more likely that some tests
will fail for one of the reasons listed below.</p>
<a name="File-Permissions-on-Cygwin"></a><h2>File Permissions on Cygwin</h2>
<p>UNIX file permissions are based on sets of mode bits for
{read,write,execute} for each {user,group,other}.  By default Cygwin
only tracks the Win32 read-only attribute represented as the UNIX file
user write bit (files are always readable, files are executable if they
have a <i>.{com,bat,exe}</i> extension or begin with <code class="inline"><span class="c">#!</span></code>
, directories are
always readable and executable).  On WinNT with the <i>ntea</i> <code class="inline"><span class="w">CYGWIN</span></code>

setting, the additional mode bits are stored as extended file attributes.
On WinNT with the default <i>ntsec</i> <code class="inline"><span class="w">CYGWIN</span></code>
 setting, permissions use the
standard WinNT security descriptors and access control lists. Without one of
these options, these tests will fail (listing not updated yet):</p>
<pre class="verbatim"><ol><li>  Failed Test           List of failed</li><li>  ------------------------------------</li><li>  io/fs.t               5, 7, 9-10</li><li>  lib/anydbm.t          2</li><li>  lib/db-btree.t        20</li><li>  lib/db-hash.t         16</li><li>  lib/db-recno.t        18</li><li>  lib/gdbm.t            2</li><li>  lib/ndbm.t            2</li><li>  lib/odbm.t            2</li><li>  lib/sdbm.t            2</li><li>  op/stat.t             9, 20 (.tmp not an executable extension)</li></ol></pre><a name="NDBM_File-and-ODBM_File-do-not-work-on-FAT-filesystems"></a><h2>NDBM_File and ODBM_File do not work on FAT filesystems</h2>
<p>Do not use NDBM_File or ODBM_File on FAT filesystem.  They can be
built on a FAT filesystem, but many tests will fail:</p>
<pre class="verbatim"><ol><li> ../ext/NDBM_File/ndbm.t       13  3328    71   59  83.10%  1-2 4 16-71</li><li> ../ext/ODBM_File/odbm.t      255 65280    ??   ??       %  ??</li><li> ../lib/AnyDBM_File.t           2   512    12    2  16.67%  1 4</li><li> ../lib/Memoize/t/errors.t      0   139    11    5  45.45%  7-11</li><li> ../lib/Memoize/t/tie_ndbm.t   13  3328     4    4 100.00%  1-4</li><li> run/fresh_perl.t                          97    1   1.03%  91</li></ol></pre><p>If you intend to run only on FAT (or if using AnyDBM_File on FAT),
run Configure with the -Ui_ndbm and -Ui_dbm options to prevent
NDBM_File and ODBM_File being built.</p>
<p>With NTFS (and no CYGWIN=nontsec), there should be no problems even if
perl was built on FAT.</p>
<a name="fork()-failures-in-io_*-tests"></a><h2><code class="inline"><a class="l_k" href="functions/fork.html">fork()</a></code> failures in io_* tests</h2>
<p>A <code class="inline"><a class="l_k" href="functions/fork.html">fork()</a></code> failure may result in the following tests failing:</p>
<pre class="verbatim"><ol><li>  <span class="w">ext</span>/<span class="w">IO</span>/<span class="w">lib</span>/<span class="w">IO</span>/<span class="w">t</span>/<span class="w">io_multihomed</span>.<span class="w">t</span></li><li>  <span class="w">ext</span>/<span class="w">IO</span>/<span class="w">lib</span>/<span class="w">IO</span>/<span class="w">t</span>/<span class="w">io_sock</span>.<span class="w">t</span></li><li>  <span class="w">ext</span>/<span class="w">IO</span>/<span class="w">lib</span>/<span class="w">IO</span>/<span class="w">t</span>/<span class="w">io_unix</span>.<span class="w">t</span></li></ol></pre><p>See comment on fork in <a href="#Miscellaneous">Miscellaneous</a> below.</p>
<a name="Specific-features-of-the-Cygwin-port"></a><h1>Specific features of the Cygwin port</h1>
<a name="Script-Portability-on-Cygwin"></a><h2>Script Portability on Cygwin</h2>
<p>Cygwin does an outstanding job of providing UNIX-like semantics on top of
Win32 systems.  However, in addition to the items noted above, there are
some differences that you should know about.  This is a very brief guide
to portability, more information can be found in the Cygwin documentation.</p>
<ul>
<li><a name="*-Pathnames"></a><b>Pathnames</b>
<p>Cygwin pathnames are separated by forward (<i>/</i>) slashes, Universal
Naming Codes (<i>//UNC</i>) are also supported Since cygwin-1.7 non-POSIX
pathnames are discouraged.  Names may contain all printable
characters.</p>
<p>File names are case insensitive, but case preserving.  A pathname that
contains a backslash or drive letter is a Win32 pathname, and not
subject to the translations applied to POSIX style pathnames, but
cygwin will warn you, so better convert them to POSIX.</p>
<p>For conversion we have <code class="inline"><span class="i">Cygwin::win_to_posix_path</span><span class="s">(</span><span class="s">)</span></code>
 and
<code class="inline"><span class="i">Cygwin::posix_to_win_path</span><span class="s">(</span><span class="s">)</span></code>
.</p>
<p>Since cygwin-1.7 pathnames are UTF-8 encoded.</p>
</li>
<li><a name="*-Text%2fBinary"></a><b>Text/Binary</b>
<p>Since cygwin-1.7 textmounts are deprecated and strongly discouraged.</p>
<p>When a file is opened it is in either text or binary mode.  In text mode
a file is subject to CR/LF/Ctrl-Z translations.  With Cygwin, the default
mode for an <code class="inline"><a class="l_k" href="functions/open.html">open()</a></code> is determined by the mode of the mount that underlies
the file. See <a href="#Cygwin%3a%3ais_binmount">Cygwin::is_binmount</a>(). Perl provides a <code class="inline"><a class="l_k" href="functions/binmode.html">binmode()</a></code> function
to set binary mode on files that otherwise would be treated as text.
<code class="inline"><a class="l_k" href="functions/sysopen.html">sysopen()</a></code> with the <code class="inline"><span class="w">O_TEXT</span></code>
 flag sets text mode on files that otherwise
would be treated as binary:</p>
<pre class="verbatim"><ol><li>    <a class="l_k" href="functions/sysopen.html">sysopen</a><span class="s">(</span><span class="w">FOO</span><span class="cm">,</span> <span class="q">&quot;bar&quot;</span><span class="cm">,</span> <span class="w">O_WRONLY</span>|<span class="w">O_CREAT</span>|<span class="w">O_TEXT</span><span class="s">)</span></li></ol></pre><p><code class="inline"><span class="i">lseek</span><span class="s">(</span><span class="s">)</span></code>
, <code class="inline"><a class="l_k" href="functions/tell.html">tell()</a></code> and <code class="inline"><a class="l_k" href="functions/sysseek.html">sysseek()</a></code> only work with files opened in binary
mode.</p>
<p>The text/binary issue is covered at length in the Cygwin documentation.</p>
</li>
<li><a name="*-PerlIO"></a><b>PerlIO</b>
<p>PerlIO overrides the default Cygwin Text/Binary behaviour.  A file will
always be treated as binary, regardless of the mode of the mount it lives
on, just like it is in UNIX.  So CR/LF translation needs to be requested in
either the <code class="inline"><a class="l_k" href="functions/open.html">open()</a></code> call like this:</p>
<pre class="verbatim"><ol><li>  <a class="l_k" href="functions/open.html">open</a><span class="s">(</span><span class="w">FH</span><span class="cm">,</span> <span class="q">&quot;&gt;:crlf&quot;</span><span class="cm">,</span> <span class="q">&quot;out.txt&quot;</span><span class="s">)</span><span class="sc">;</span></li></ol></pre><p>which will do conversion from LF to CR/LF on the output, or in the
environment settings (add this to your .bashrc):</p>
<pre class="verbatim"><ol><li>  <span class="w">export</span> <span class="w">PERLIO</span>=<span class="w">crlf</span></li></ol></pre><p>which will pull in the crlf PerlIO layer which does LF -&gt; CRLF conversion
on every output generated by perl.</p>
</li>
<li><a name="*-_.exe_"></a><b><i>.exe</i></b>
<p>The Cygwin <code class="inline"><a class="l_k" href="functions/stat.html">stat()</a></code>, <code class="inline"><a class="l_k" href="functions/lstat.html">lstat()</a></code> and <code class="inline"><a class="l_k" href="functions/readlink.html">readlink()</a></code> functions make the <i>.exe</i>
extension transparent by looking for <i>foo.exe</i> when you ask for <i>foo</i>
(unless a <i>foo</i> also exists).  Cygwin does not require a <i>.exe</i>
extension, but <i>gcc</i> adds it automatically when building a program.
However, when accessing an executable as a normal file (e.g., <i>cp</i>
in a makefile) the <i>.exe</i> is not transparent.  The <i>install</i> program
included with Cygwin automatically appends a <i>.exe</i> when necessary.</p>
</li>
<li><a name="*-Cygwin-vs.-Windows-process-ids"></a><b>Cygwin vs. Windows process ids</b>
<p>Cygwin processes have their own pid, which is different from the
underlying windows pid.  Most posix compliant Proc functions expect
the cygwin pid, but several Win32::Process functions expect the
winpid. E.g. <code class="inline"><span class="i">$$</span></code>
 is the cygwin pid of <i>/usr/bin/perl</i>, which is not
the winpid.  Use <code class="inline"><span class="i">Cygwin::pid_to_winpid</span><span class="s">(</span><span class="s">)</span></code>
 and <code class="inline"><span class="i">Cygwin::winpid_to_pid</span><span class="s">(</span><span class="s">)</span></code>

to translate between them.</p>
</li>
<li><a name="*-Cygwin-vs.-Windows-errors"></a><b>Cygwin vs. Windows errors</b>
<p>Under Cygwin, $^E is the same as $!.  When using <a href="http://search.cpan.org/perldoc/Win32">Win32 API Functions</a>,
use <code class="inline"><span class="i">Win32::GetLastError</span><span class="s">(</span><span class="s">)</span></code>
 to get the last Windows error.</p>
</li>
<li><a name="*-rebase-errors-on-fork-or-system"></a><b>rebase errors on fork or system</b>
<p>Using <code class="inline"><a class="l_k" href="functions/fork.html">fork()</a></code> or <code class="inline"><a class="l_k" href="functions/system.html">system()</a></code> out to another perl after loading multiple dlls
may result on a DLL baseaddress conflict. The internal cygwin error
looks like like the following:</p>
<pre class="verbatim"><ol><li>  <span class="n">0</span> <span class="s">[</span><span class="w">main</span><span class="s">]</span> <span class="w">perl</span> <span class="n">8916</span> <span class="w">child_info_fork::abort</span><span class="co">:</span> <span class="w">data</span> <span class="w">segment</span> <span class="w">start</span><span class="co">:</span> <span class="i">parent</span></li><li>  <span class="s">(</span><span class="n">0xC1A000</span><span class="s">)</span> != <span class="i">child</span><span class="s">(</span><span class="n">0xA6A000</span><span class="s">)</span></li></ol></pre><p>or:</p>
<pre class="verbatim"><ol><li>  <span class="n">183</span> <span class="s">[</span><span class="w">main</span><span class="s">]</span> <span class="w">perl</span> <span class="n">3588</span> <span class="w">C</span><span class="co">:</span>\<span class="w">cygwin</span>\<span class="w">bin</span>\<span class="w">perl</span>.<span class="w">exe</span><span class="co">:</span> <span class="i">**</span>* <span class="w">fatal</span> <span class="w">error</span> - <span class="w">unable</span> <span class="w">to</span> <span class="w">remap</span></li><li>  <span class="w">C</span><span class="co">:</span>\<span class="w">cygwin</span>\<span class="w">bin</span>\<span class="w">cygsvn_subr</span>-<span class="n">1</span>-<span class="n">0.</span><span class="w">dll</span> <span class="w">to</span> <span class="w">same</span> <span class="w">address</span> <span class="w">as</span> <span class="i">parent</span><span class="s">(</span><span class="n">0x6FB30000</span><span class="s">)</span> != <span class="n">0x6FE60000</span></li><li>  <span class="n">46</span> <span class="s">[</span><span class="w">main</span><span class="s">]</span> <span class="w">perl</span> <span class="n">3488</span> <a class="l_k" href="functions/fork.html">fork</a><span class="co">:</span> <span class="w">child</span> <span class="n">3588</span> - <span class="w">died</span> <span class="w">waiting</span> <a class="l_k" href="functions/for.html">for</a> <span class="w">dll</span> <span class="w">loading</span><span class="cm">,</span> <span class="w">errno11</span></li></ol></pre><p>See <a href="http://cygwin.com/faq/faq-nochunks.html#faq.using.fixing-fork-failures">http://cygwin.com/faq/faq-nochunks.html#faq.using.fixing-fork-failures</a>
It helps if not too many DLLs are loaded in memory so the available address space is larger,
e.g. stopping the MS Internet Explorer might help.</p>
<p>Use the perlrebase or rebase utilities to resolve the conflicting dll addresses.
The rebase package is included in the Cygwin setup. Use <i>setup.exe</i>
from <a href="http://www.cygwin.com/setup.exe">http://www.cygwin.com/setup.exe</a> to install it.</p>
<p>1. kill all perl processes and run <code class="inline"><span class="w">perlrebase</span></code>
 or</p>
<p>2. kill all cygwin processes and services, start dash from cmd.exe and run <code class="inline"><span class="w">rebaseall</span></code>
.</p>
</li>
<li><a name="*-chown()"></a><b><code class="inline"><a class="l_k" href="functions/chown.html">chown()</a></code></b>
<p>On WinNT <code class="inline"><a class="l_k" href="functions/chown.html">chown()</a></code> can change a file's user and group IDs.  On Win9x <code class="inline"><a class="l_k" href="functions/chown.html">chown()</a></code>
is a no-op, although this is appropriate since there is no security model.</p>
</li>
<li><a name="*-Miscellaneous"></a><b>Miscellaneous</b>
<p>File locking using the <code class="inline"><span class="w">F_GETLK</span></code>
 command to <code class="inline"><a class="l_k" href="functions/fcntl.html">fcntl()</a></code> is a stub that
returns <code class="inline"><span class="w">ENOSYS</span></code>
.</p>
<p>Win9x can not <code class="inline"><a class="l_k" href="functions/rename.html">rename()</a></code> an open file (although WinNT can).</p>
<p>The Cygwin <code class="inline"><a class="l_k" href="functions/chroot.html">chroot()</a></code> implementation has holes (it can not restrict file
access by native Win32 programs).</p>
<p>Inplace editing <code class="inline"><span class="w">perl</span> -<span class="w">i</span></code>
 of files doesn't work without doing a backup
of the file being edited <code class="inline"><span class="w">perl</span> -<span class="w">i</span>.<span class="w">bak</span></code>
 because of windowish restrictions,
therefore Perl adds the suffix <code class="inline">.bak</code> automatically if you use <code class="inline"><span class="w">perl</span> -<span class="w">i</span></code>

without specifying a backup extension.</p>
</li>
</ul>
<a name="Prebuilt-methods%3a"></a><h2>Prebuilt methods:</h2>
<ul>
<li><a name="Cwd%3a%3acwd"></a><b><code class="inline"><span class="w">Cwd::cwd</span></code>
</b>
<p>Returns the current working directory.</p>
</li>
<li><a name="Cygwin%3a%3apid_to_winpid"></a><b><code class="inline"><span class="w">Cygwin::pid_to_winpid</span></code>
</b>
<p>Translates a cygwin pid to the corresponding Windows pid (which may or
may not be the same).</p>
</li>
<li><a name="Cygwin%3a%3awinpid_to_pid"></a><b><code class="inline"><span class="w">Cygwin::winpid_to_pid</span></code>
</b>
<p>Translates a Windows pid to the corresponding cygwin pid (if any).</p>
</li>
<li><a name="Cygwin%3a%3awin_to_posix_path"></a><b><code class="inline"><span class="w">Cygwin::win_to_posix_path</span></code>
</b>
<p>Translates a Windows path to the corresponding cygwin path respecting
the current mount points. With a second non-null argument returns an
absolute path. Double-byte characters will not be translated.</p>
</li>
<li><a name="Cygwin%3a%3aposix_to_win_path"></a><b><code class="inline"><span class="w">Cygwin::posix_to_win_path</span></code>
</b>
<p>Translates a cygwin path to the corresponding cygwin path respecting
the current mount points. With a second non-null argument returns an
absolute path. Double-byte characters will not be translated.</p>
</li>
<li><a name="Cygwin%3a%3amount_table()"></a><b><code class="inline"><span class="i">Cygwin::mount_table</span><span class="s">(</span><span class="s">)</span></code>
</b>
<p>Returns an array of [mnt_dir, mnt_fsname, mnt_type, mnt_opts].</p>
<pre class="verbatim"><ol><li>  perl -e 'for $i (Cygwin::mount_table) {print join(" ",@$i),"\n";}'</li><li>  /bin c:\cygwin\bin system binmode,cygexec</li><li>  /usr/bin c:\cygwin\bin system binmode</li><li>  /usr/lib c:\cygwin\lib system binmode</li><li>  / c:\cygwin system binmode</li><li>  /cygdrive/c c: system binmode,noumount</li><li>  /cygdrive/d d: system binmode,noumount</li><li>  /cygdrive/e e: system binmode,noumount</li></ol></pre></li>
<li><a name="Cygwin%3a%3amount_flags"></a><b><code class="inline"><span class="w">Cygwin::mount_flags</span></code>
</b>
<p>Returns the mount type and flags for a specified mount point.
A comma-separated string of mntent-&gt;mnt_type (always
"system" or "user"), then the mntent-&gt;mnt_opts, where
the first is always "binmode" or "textmode".</p>
<pre class="verbatim"><ol><li>  <a class="l_k" href="functions/system.html">system</a>|<span class="w">user</span><span class="cm">,</span><a class="l_k" href="functions/binmode.html">binmode</a>|<span class="w">textmode</span><span class="cm">,</span><a class="l_k" href="functions/exec.html">exec</a><span class="cm">,</span><span class="w">cygexec</span><span class="cm">,</span><span class="w">cygdrive</span><span class="cm">,</span><span class="w">mixed</span><span class="cm">,</span></li><li>  <span class="w">notexec</span><span class="cm">,</span><span class="w">managed</span><span class="cm">,</span><span class="w">nosuid</span><span class="cm">,</span><span class="w">devfs</span><span class="cm">,</span><span class="w">proc</span><span class="cm">,</span><span class="w">noumount</span></li></ol></pre><p>If the argument is "/cygdrive", then just the volume mount settings,
and the cygdrive mount prefix are returned.</p>
<p>User mounts override system mounts.</p>
<pre class="verbatim"><ol><li>  $ perl -e 'print Cygwin::mount_flags "/usr/bin"'</li><li>  system,binmode,cygexec</li><li>  $ perl -e 'print Cygwin::mount_flags "/cygdrive"'</li><li>  binmode,cygdrive,/cygdrive</li></ol></pre></li>
<li><a name="Cygwin%3a%3ais_binmount"></a><b><code class="inline"><span class="w">Cygwin::is_binmount</span></code>
</b>
<p>Returns true if the given cygwin path is binary mounted, false if the
path is mounted in textmode.</p>
</li>
<li><a name="Cygwin%3a%3async_winenv"></a><b><code class="inline"><span class="w">Cygwin::sync_winenv</span></code>
</b>
<p>Cygwin does not initialize all original Win32 environment variables.
See the bottom of this page <a href="http://cygwin.com/cygwin-ug-net/setup-env.html">http://cygwin.com/cygwin-ug-net/setup-env.html</a>
for "Restricted Win32 environment".</p>
<p>Certain Win32 programs called from cygwin programs might need some environment
variable, such as e.g. ADODB needs %COMMONPROGRAMFILES%.
Call Cygwin::sync_winenv() to copy all Win32 environment variables to your
process and note that cygwin will warn on every encounter of non-POSIX paths.</p>
</li>
</ul>
<a name="INSTALL-PERL-ON-CYGWIN"></a><h1>INSTALL PERL ON CYGWIN</h1>
<p>This will install Perl, including <i>man</i> pages.</p>
<pre class="verbatim"><ol><li>  <span class="w">make</span> <span class="w">install</span> <span class="n">2</span>&gt;<span class="i">&amp;1</span> | <span class="w">tee</span> <a class="l_k" href="functions/log.html">log</a>.<span class="w">make</span>-<span class="w">install</span></li></ol></pre><p>NOTE: If <code class="inline"><span class="w">STDERR</span></code>
 is redirected <code class="inline"><span class="w">make</span> <span class="w">install</span></code>
 will <b>not</b> prompt
you to install <i>perl</i> into <i>/usr/bin</i>.</p>
<p>You may need to be <i>Administrator</i> to run <code class="inline"><span class="w">make</span> <span class="w">install</span></code>
.  If you
are not, you must have write access to the directories in question.</p>
<p>Information on installing the Perl documentation in HTML format can be
found in the <i>INSTALL</i> document.</p>
<a name="MANIFEST-ON-CYGWIN"></a><h1>MANIFEST ON CYGWIN</h1>
<p>These are the files in the Perl release that contain references to Cygwin.
These very brief notes attempt to explain the reason for all conditional
code.  Hopefully, keeping this up to date will allow the Cygwin port to
be kept as clean as possible.</p>
<ul>
<li><a name="Documentation"></a><b>Documentation</b>
<pre class="verbatim"><ol><li>  <span class="w">INSTALL</span> <span class="w">README</span>.<span class="w">cygwin</span> <span class="w">README</span>.<span class="w">win32</span> <span class="w">MANIFEST</span></li><li>  <span class="w">pod</span>/<span class="w">perl</span>.<span class="w">pod</span> <span class="w">pod</span>/<span class="w">perlport</span>.<span class="w">pod</span> <span class="w">pod</span>/<span class="w">perlfaq3</span>.<span class="w">pod</span></li><li>  <span class="w">pod</span>/<span class="w">perldelta</span>.<span class="w">pod</span> <span class="w">pod</span>/<span class="w">perl5004delta</span>.<span class="w">pod</span> <span class="w">pod</span>/<span class="w">perl56delta</span>.<span class="w">pod</span></li><li>  <span class="w">pod</span>/<span class="w">perl561delta</span>.<span class="w">pod</span> <span class="w">pod</span>/<span class="w">perl570delta</span>.<span class="w">pod</span> <span class="w">pod</span>/<span class="w">perl572delta</span>.<span class="w">pod</span></li><li>  <span class="w">pod</span>/<span class="w">perl573delta</span>.<span class="w">pod</span> <span class="w">pod</span>/<span class="w">perl58delta</span>.<span class="w">pod</span> <span class="w">pod</span>/<span class="w">perl581delta</span>.<span class="w">pod</span></li><li>  <span class="w">pod</span>/<span class="w">perl590delta</span>.<span class="w">pod</span> <span class="w">pod</span>/<span class="w">perlhist</span>.<span class="w">pod</span> <span class="w">pod</span>/<span class="w">perlmodlib</span>.<span class="w">pod</span></li><li>  <span class="w">pod</span>/<span class="w">perltoc</span>.<span class="w">pod</span> <span class="w">Porting</span>/<span class="w">Glossary</span> <span class="w">pod</span>/<span class="w">perlgit</span>.<span class="w">pod</span></li><li>  <span class="w">Porting</span>/<span class="w">checkAUTHORS</span>.<span class="w">pl</span></li><li>  <span class="w">dist</span>/<span class="w">Cwd</span>/<span class="w">Changes</span> <span class="w">ext</span>/<span class="w">Compress</span>-<span class="w">Raw</span>-<span class="w">Zlib</span>/<span class="w">Changes</span></li><li>  <span class="w">ext</span>/<span class="w">Compress</span>-<span class="w">Raw</span>-<span class="w">Zlib</span>/<span class="w">README</span> <span class="w">ext</span>/<span class="w">Compress</span>-<span class="w">Zlib</span>/<span class="w">Changes</span></li><li>  <span class="w">ext</span>/<span class="w">DB_File</span>/<span class="w">Changes</span> <span class="w">ext</span>/<span class="w">Encode</span>/<span class="w">Changes</span> <span class="w">ext</span>/<span class="w">Sys</span>-<span class="w">Syslog</span>/<span class="w">Changes</span></li><li>  <span class="w">ext</span>/<span class="w">Time</span>-<span class="w">HiRes</span>/<span class="w">Changes</span> <span class="w">ext</span>/<span class="w">Win32API</span>-<span class="w">File</span>/<span class="w">Changes</span></li><li>  <span class="w">lib</span>/<span class="w">ExtUtils</span>/<span class="w">CBuilder</span>/<span class="w">Changes</span> <span class="w">lib</span>/<span class="w">ExtUtils</span>/<span class="w">Changes</span> <span class="w">lib</span>/<span class="w">ExtUtils</span>/<span class="w">NOTES</span></li><li>  <span class="w">lib</span>/<span class="w">ExtUtils</span>/<span class="w">PATCHING</span> <span class="w">lib</span>/<span class="w">ExtUtils</span>/<span class="w">README</span></li><li>  <span class="w">lib</span>/<span class="w">Net</span>/<span class="w">Ping</span>/<span class="w">Changes</span> <span class="w">lib</span>/<span class="w">Test</span>/<span class="w">Harness</span>/<span class="w">Changes</span></li><li>  <span class="w">lib</span><span class="q">/Term/</span><span class="w">ANSIColor</span>/<span class="w">ChangeLog</span> <span class="w">lib</span><span class="q">/Term/</span><span class="w">ANSIColor</span>/<span class="w">README</span> <span class="w">README</span>.<span class="w">symbian</span></li><li>  <span class="w">symbian</span>/<span class="w">TODO</span></li></ol></pre></li>
<li><a name="Build%2c-Configure%2c-Make%2c-Install"></a><b>Build, Configure, Make, Install</b>
<pre class="verbatim"><ol><li>  cygwin/Makefile.SHs</li><li>  ext/IPC/SysV/hints/cygwin.pl</li><li>  ext/NDBM_File/hints/cygwin.pl</li><li>  ext/ODBM_File/hints/cygwin.pl</li><li>  hints/cygwin.sh</li><li>  Configure             - help finding hints from uname,</li><li>                          shared libperl required for dynamic loading</li><li>  Makefile.SH Cross/Makefile-cross-SH</li><li>                        - linklibperl</li><li>  Porting/patchls       - cygwin in port list</li><li>  installman            - man pages with :: translated to .</li><li>  installperl           - install dll, install to 'pods'</li><li>  makedepend.SH         - uwinfix</li><li>  regen_lib.pl          - file permissions</li><li></li><li>  NetWare/Makefile</li><li>  plan9/mkfile</li><li>  symbian/sanity.pl symbian/sisify.pl</li><li>  hints/uwin.sh</li><li>  vms/descrip_mms.template</li><li>  win32/Makefile win32/makefile.mk</li></ol></pre></li>
<li><a name="Tests"></a><b>Tests</b>
<pre class="verbatim"><ol><li>  t/io/fs.t             - no file mode checks if not ntsec</li><li>                          skip rename() check when not check_case:relaxed</li><li>  t/io/tell.t           - binmode</li><li>  t/lib/cygwin.t        - builtin cygwin function tests</li><li>  t/op/groups.t         - basegroup has ID = 0</li><li>  t/op/magic.t          - $^X/symlink WORKAROUND, s/.exe//</li><li>  t/op/stat.t           - no /dev, skip Win32 ftCreationTime quirk</li><li>                          (cache manager sometimes preserves ctime of file</li><li>                          previously created and deleted), no -u (setuid)</li><li>  t/op/taint.t          - can't use empty path under Cygwin Perl</li><li>  t/op/time.t           - no tzset()</li></ol></pre></li>
<li><a name="Compiled-Perl-Source"></a><b>Compiled Perl Source</b>
<pre class="verbatim"><ol><li>  EXTERN.h              - __declspec(dllimport)</li><li>  XSUB.h                - __declspec(dllexport)</li><li>  cygwin/cygwin.c       - os_extras (getcwd, spawn, and several Cygwin:: functions)</li><li>  perl.c                - os_extras, -i.bak</li><li>  perl.h                - binmode</li><li>  doio.c                - win9x can not rename a file when it is open</li><li>  pp_sys.c              - do not define h_errno, init _pwent_struct.pw_comment</li><li>  util.c                - use setenv</li><li>  util.h                - PERL_FILE_IS_ABSOLUTE macro</li><li>  pp.c                  - Comment about Posix vs IEEE math under Cygwin</li><li>  perlio.c              - CR/LF mode</li><li>  perliol.c             - Comment about EXTCONST under Cygwin</li></ol></pre></li>
<li><a name="Compiled-Module-Source"></a><b>Compiled Module Source</b>
<pre class="verbatim"><ol><li>  <span class="w">ext</span>/<span class="w">Compress</span>-<span class="w">Raw</span>-<span class="w">Zlib</span>/<span class="w">Makefile</span>.<span class="w">PL</span></li><li>                        - <span class="w">Can&#39;t</span> <span class="w">install</span> <span class="w">via</span> <span class="w">CPAN</span> <span class="w">shell</span> <span class="w">under</span> <span class="w">Cygwin</span></li><li>  <span class="w">ext</span>/<span class="w">Compress</span>-<span class="w">Raw</span>-<span class="w">Zlib</span>/<span class="w">zlib</span>-<span class="w">src</span>/<span class="w">zutil</span>.<span class="w">h</span></li><li>                        - <span class="w">Cygwin</span> <span class="w">is</span> <span class="w">Unix</span>-<span class="w">like</span> and <span class="w">has</span> <span class="w">vsnprintf</span></li><li>  <span class="w">ext</span>/<span class="w">Errno</span>/<span class="w">Errno_pm</span>.<span class="w">PL</span> - <span class="w">Special</span> <span class="w">handling</span> for <span class="w">Win32</span> <span class="w">Perl</span> <span class="w">under</span> <span class="w">Cygwin</span></li><li>  <span class="w">ext</span>/<span class="w">POSIX</span>/<span class="w">POSIX</span>.<span class="w">xs</span>    - <span class="w">tzname</span> <a class="l_k" href="functions/defined.html">defined</a> <span class="w">externally</span></li><li>  <span class="w">ext</span>/<span class="w">SDBM_File</span>/<span class="w">sdbm</span>/<span class="w">pair</span>.<span class="w">c</span></li><li>                        - <span class="w">EXTCONST</span> <span class="w">needs</span> <span class="w">to</span> <span class="w">be</span> <span class="w">redefined</span> <span class="w">from</span> <span class="w">EXTERN</span>.<span class="w">h</span></li><li>  <span class="w">ext</span>/<span class="w">SDBM_File</span>/<span class="w">sdbm</span>/<span class="w">sdbm</span>.<span class="w">c</span></li><li>                        - <span class="w">binary</span> <a class="l_k" href="functions/open.html">open</a></li><li>  <span class="w">ext</span>/<span class="w">Sys</span>/<span class="w">Syslog</span>/<span class="w">Syslog</span>.<span class="w">xs</span></li><li>                        - <span class="w">Cygwin</span> <span class="w">has</span> <span class="w">syslog</span>.<span class="w">h</span></li><li>  <span class="w">ext</span>/<span class="w">Sys</span>/<span class="w">Syslog</span>/<span class="w">win32</span>/<span class="w">compile</span>.<span class="w">pl</span></li><li>                        - <span class="w">Convert</span> <span class="w">paths</span> <span class="w">to</span> <span class="w">Windows</span> <span class="w">paths</span></li><li>  <span class="w">ext</span>/<span class="w">Time</span>-<span class="w">HiRes</span>/<span class="w">HiRes</span>.<span class="w">xs</span></li><li>                        - <span class="w">Various</span> <span class="w">timers</span> not <span class="w">available</span></li><li>  <span class="w">ext</span>/<span class="w">Time</span>-<span class="w">HiRes</span>/<span class="w">Makefile</span>.<span class="w">PL</span></li><li>                        - <span class="w">Find</span> <span class="w">w32api</span>/<span class="w">windows</span>.<span class="w">h</span></li><li>  <span class="w">ext</span>/<span class="w">Win32</span>/<span class="w">Makefile</span>.<span class="w">PL</span> - <span class="w">Use</span> <span class="w">various</span> <span class="w">libraries</span> <span class="w">under</span> <span class="w">Cygwin</span></li><li>  <span class="w">ext</span>/<span class="w">Win32</span>/<span class="w">Win32</span>.<span class="w">xs</span>    - <span class="w">Child</span> <span class="w">dir</span> and <span class="w">child</span> <span class="w">env</span> <span class="w">under</span> <span class="w">Cygwin</span></li><li>  <span class="w">ext</span>/<span class="w">Win32API</span>-<span class="w">File</span>/<span class="w">File</span>.<span class="w">xs</span></li><li>                        - <span class="w">_open_osfhandle</span> not <span class="w">implemented</span> <span class="w">under</span> <span class="w">Cygwin</span></li><li>  <span class="w">ext</span>/<span class="w">Win32CORE</span>/<span class="w">Win32CORE</span>.<span class="w">c</span></li><li>                        - <span class="i">__declspec</span><span class="s">(</span><span class="w">dllexport</span><span class="s">)</span></li></ol></pre></li>
<li><a name="Perl-Modules%2fScripts"></a><b>Perl Modules/Scripts</b>
<pre class="verbatim"><ol><li>  <span class="w">ext</span>/<span class="w">B</span>/<span class="w">t</span><span class="q">/OptreeCheck.pm - Comment about stderr/stdout</span> <span class="w">order</span> <span class="w">under</span> <span class="w">Cygwin</span></li><li>  <span class="w">ext</span>/<span class="w">Digest</span>-<span class="w">SHA</span>/<span class="w">bin</span>/<span class="w">shasum</span></li><li>                        - <span class="w">Use</span> <span class="w">binary</span> <span class="w">mode</span> <span class="w">under</span> <span class="w">Cygwin</span></li><li>  <span class="w">ext</span>/<span class="w">Sys</span>/<span class="w">Syslog</span>/<span class="w">win32</span>/<span class="w">Win32</span>.<span class="w">pm</span></li><li>                        - <span class="w">Convert</span> <span class="w">paths</span> <span class="w">to</span> <span class="w">Windows</span> <span class="w">paths</span></li><li>  <span class="w">ext</span>/<span class="w">Time</span>-<span class="w">HiRes</span>/<span class="w">HiRes</span>.<span class="w">pm</span></li><li>                        - <span class="w">Comment</span> <span class="w">about</span> <span class="w">various</span> <span class="w">timers</span> <a class="l_k" href="functions/not.html">not</a> <span class="w">available</span></li><li>  <span class="w">ext</span>/<span class="w">Win32API</span>-<span class="w">File</span>/<span class="w">File</span>.<span class="w">pm</span></li><li>                        - <span class="w">_open_osfhandle</span> <a class="l_k" href="functions/not.html">not</a> <span class="w">implemented</span> <span class="w">under</span> <span class="w">Cygwin</span></li><li>  <span class="w">ext</span>/<span class="w">Win32CORE</span>/<span class="w">Win32CORE</span>.<span class="w">pm</span></li><li>                        - <span class="w">History</span> <span class="w">of</span> <span class="w">Win32CORE</span> <span class="w">under</span> <span class="w">Cygwin</span></li><li>  <span class="w">lib</span>/<span class="w">Cwd</span>.<span class="w">pm</span>            - <span class="w">hook</span> <span class="w">to</span> <span class="w">internal</span> <span class="w">Cwd::cwd</span></li><li>  <span class="w">lib</span>/<span class="w">ExtUtils</span><span class="q">/CBuilder/</span><span class="w">Platform</span>/<span class="w">cygwin</span>.<span class="w">pm</span></li><li>                        - <a class="l_k" href="functions/use.html">use</a> <span class="w">gcc</span> <a class="l_k" href="functions/for.html">for</a> <span class="w">ld</span><span class="cm">,</span> <a class="l_k" href="functions/and.html">and</a> <a class="l_k" href="functions/link.html">link</a> <span class="w">to</span> <span class="w">libperl</span>.<span class="w">dll</span>.<span class="w">a</span></li><li>  <span class="w">lib</span>/<span class="w">ExtUtils</span>/<span class="w">CBuilder</span>.<span class="w">pm</span></li><li>                        - <span class="w">Cygwin</span> <span class="w">is</span> <span class="w">Unix</span>-<span class="w">like</span></li><li>  <span class="w">lib</span>/<span class="w">ExtUtils</span>/<span class="w">Install</span>.<span class="w">pm</span> - <span class="w">Install</span> <a class="l_k" href="functions/and.html">and</a> <a class="l_k" href="functions/rename.html">rename</a> <span class="w">issues</span> <span class="w">under</span> <span class="w">Cygwin</span></li><li>  <span class="w">lib</span>/<span class="w">ExtUtils</span>/<span class="w">MM</span>.<span class="w">pm</span>    - <span class="w">OS</span> <span class="w">classifications</span></li><li>  <span class="w">lib</span>/<span class="w">ExtUtils</span>/<span class="w">MM_Any</span>.<span class="w">pm</span> - <span class="w">Example</span> <a class="l_k" href="functions/for.html">for</a> <span class="w">Cygwin</span></li><li>  <span class="w">lib</span>/<span class="w">ExtUtils</span>/<span class="w">MakeMaker</span>.<span class="w">pm</span></li><li>                        - <a class="l_k" href="functions/require.html">require</a> <span class="w">MM_Cygwin</span>.<span class="w">pm</span></li><li>  <span class="w">lib</span>/<span class="w">ExtUtils</span>/<span class="w">MM_Cygwin</span>.<span class="w">pm</span></li><li>                        - <span class="w">canonpath</span><span class="cm">,</span> <span class="w">cflags</span><span class="cm">,</span> <span class="w">manifypods</span><span class="cm">,</span> <span class="w">perl_archive</span></li><li>  <span class="w">lib</span>/<span class="w">File</span>/<span class="w">Fetch</span>.<span class="w">pm</span>     - <span class="w">Comment</span> <span class="w">about</span> <span class="w">quotes</span> <span class="w">using</span> <span class="w">a</span> <span class="w">Cygwin</span> <span class="w">example</span></li><li>  <span class="w">lib</span>/<span class="w">File</span>/<span class="w">Find</span>.<span class="w">pm</span>      - <span class="w">on</span> <span class="w">remote</span> <span class="w">drives</span> <a class="l_k" href="functions/stat.html">stat</a><span class="s">(</span><span class="s">)</span> <span class="w">always</span> <span class="w">sets</span> <span class="w">st_nlink</span> <span class="w">to</span> <span class="n">1</span></li><li>  <span class="w">lib</span>/<span class="w">File</span>/<span class="w">Spec</span>/<span class="w">Cygwin</span>.<span class="w">pm</span> - <span class="w">case_tolerant</span></li><li>  <span class="w">lib</span>/<span class="w">File</span>/<span class="w">Spec</span>/<span class="w">Unix</span>.<span class="w">pm</span> - <span class="w">preserve</span> <span class="q">//</span><span class="w">unc</span></li><li>  <span class="w">lib</span>/<span class="w">File</span>/<span class="w">Spec</span>/<span class="w">Win32</span>.<span class="w">pm</span> - <span class="w">References</span> <span class="w">a</span> <span class="w">message</span> <span class="w">on</span> <span class="w">cygwin</span>.<span class="w">com</span></li><li>  <span class="w">lib</span>/<span class="w">File</span>/<span class="w">Spec</span>.<span class="w">pm</span>      - <span class="w">Pulls</span> <span class="w">in</span> <span class="w">lib</span>/<span class="w">File</span>/<span class="w">Spec</span>/<span class="w">Cygwin</span>.<span class="w">pm</span></li><li>  <span class="w">lib</span>/<span class="w">File</span>/<span class="w">Temp</span>.<span class="w">pm</span>      - <a class="l_k" href="functions/no.html">no</a> <span class="w">directory</span> <span class="w">sticky</span> <span class="w">bit</span></li><li>  <span class="w">lib</span><span class="q">/Module/</span><span class="w">CoreList</span>.<span class="w">pm</span> - <span class="w">List</span> <span class="w">of</span> <span class="w">all</span> <span class="w">module</span> <span class="w">files</span> <a class="l_k" href="functions/and.html">and</a> <span class="w">versions</span></li><li>  <span class="w">lib</span>/<span class="w">Net</span>/<span class="w">Domain</span>.<span class="w">pm</span>     - <span class="w">No</span> <span class="w">domainname</span> <span class="w">command</span> <span class="w">under</span> <span class="w">Cygwin</span></li><li>  <span class="w">lib</span>/<span class="w">Net</span>/<span class="w">Netrc</span>.<span class="w">pm</span>      - <span class="w">Bypass</span> <span class="w">using</span> <a class="l_k" href="functions/stat.html">stat</a><span class="s">(</span><span class="s">)</span> <span class="w">under</span> <span class="w">Cygwin</span></li><li>  <span class="w">lib</span>/<span class="w">Net</span>/<span class="w">Ping</span>.<span class="w">pm</span>       - <span class="w">ECONREFUSED</span> <span class="w">is</span> <span class="w">EAGAIN</span> <span class="w">under</span> <span class="w">Cygwin</span></li><li>  <span class="w">lib</span>/<span class="w">Pod</span>/<span class="w">Find</span>.<span class="w">pm</span>       - <span class="w">Set</span> <span class="q">&#39;pods&#39;</span> <span class="w">dir</span></li><li>  <span class="w">lib</span>/<span class="w">Pod</span>/<span class="w">Perldoc</span>/<span class="w">ToMan</span>.<span class="w">pm</span> - <span class="q">&#39;-c&#39;</span> switch <a class="l_k" href="functions/for.html">for</a> <span class="w">pod2man</span></li><li>  <span class="w">lib</span>/<span class="w">Pod</span>/<span class="w">Perldoc</span>.<span class="w">pm</span>    - <span class="w">Use</span> <span class="q">&#39;less&#39;</span> <span class="w">pager</span><span class="cm">,</span> <a class="l_k" href="functions/and.html">and</a> <a class="l_k" href="functions/use.html">use</a> .<span class="w">exe</span> <span class="w">extension</span></li><li>  <span class="w">lib</span><span class="q">/Term/</span><span class="w">ANSIColor</span>.<span class="w">pm</span> - <span class="w">Cygwin</span> <span class="w">terminal</span> <span class="w">info</span></li><li>  <span class="w">lib</span>/<span class="w">perl5db</span>.<span class="w">pl</span>        - <a class="l_k" href="functions/use.html">use</a> <span class="w">stdin</span> <a class="l_k" href="functions/not.html">not</a> <span class="q">/dev/</span><span class="w">tty</span></li><li>  <span class="w">utils</span>/<span class="w">perlbug</span>.<span class="w">PL</span>      - <span class="w">Add</span> <span class="w">CYGWIN</span> <span class="w">environment</span> <span class="w">variable</span> <span class="w">to</span> <span class="w">report</span></li></ol></pre></li>
<li><a name="Perl-Module-Tests"></a><b>Perl Module Tests</b>
<pre class="verbatim"><ol><li>  <span class="w">dist</span>/<span class="w">Cwd</span>/<span class="w">t</span>/<span class="w">cwd</span>.<span class="w">t</span></li><li>  <span class="w">ext</span>/<span class="w">Compress</span>-<span class="w">Zlib</span>/<span class="w">t</span>/<span class="n">14</span><span class="w">gzopen</span>.<span class="w">t</span></li><li>  <span class="w">ext</span>/<span class="w">DB_File</span>/<span class="w">t</span>/<span class="w">db</span>-<span class="w">btree</span>.<span class="w">t</span></li><li>  <span class="w">ext</span>/<span class="w">DB_File</span>/<span class="w">t</span>/<span class="w">db</span>-<span class="w">hash</span>.<span class="w">t</span></li><li>  <span class="w">ext</span>/<span class="w">DB_File</span>/<span class="w">t</span>/<span class="w">db</span>-<span class="w">recno</span>.<span class="w">t</span></li><li>  <span class="w">ext</span>/<span class="w">DynaLoader</span>/<span class="w">t</span>/<span class="w">DynaLoader</span>.<span class="w">t</span></li><li>  <span class="w">ext</span>/<span class="w">File</span>-<span class="w">Glob</span>/<span class="w">t</span>/<span class="w">basic</span>.<span class="w">t</span></li><li>  <span class="w">ext</span>/<span class="w">GDBM_File</span>/<span class="w">t</span>/<span class="w">gdbm</span>.<span class="w">t</span></li><li>  <span class="w">ext</span>/<span class="w">POSIX</span>/<span class="w">t</span>/<span class="w">sysconf</span>.<span class="w">t</span></li><li>  <span class="w">ext</span>/<span class="w">POSIX</span>/<span class="w">t</span>/<a class="l_k" href="functions/time.html">time</a>.<span class="w">t</span></li><li>  <span class="w">ext</span>/<span class="w">SDBM_File</span>/<span class="w">t</span>/<span class="w">sdbm</span>.<span class="w">t</span></li><li>  <span class="w">ext</span>/<span class="w">Sys</span>/<span class="w">Syslog</span>/<span class="w">t</span>/<span class="w">syslog</span>.<span class="w">t</span></li><li>  <span class="w">ext</span>/<span class="w">Time</span>-<span class="w">HiRes</span>/<span class="w">t</span>/<span class="w">HiRes</span>.<span class="w">t</span></li><li>  <span class="w">ext</span>/<span class="w">Win32</span>/<span class="w">t</span>/<span class="w">Unicode</span>.<span class="w">t</span></li><li>  <span class="w">ext</span>/<span class="w">Win32API</span>-<span class="w">File</span>/<span class="w">t</span>/<span class="w">file</span>.<span class="w">t</span></li><li>  <span class="w">ext</span>/<span class="w">Win32CORE</span><span class="q">/t/</span><span class="w">win32core</span>.<span class="w">t</span></li><li>  <span class="w">lib</span>/<span class="w">AnyDBM_File</span>.<span class="w">t</span></li><li>  <span class="w">lib</span>/<span class="w">Archive</span>/<span class="w">Extract</span>/<span class="w">t</span>/<span class="n">01_Archive</span>-<span class="w">Extract</span>.<span class="w">t</span></li><li>  <span class="w">lib</span>/<span class="w">Archive</span>/<span class="w">Tar</span>/<span class="w">t</span>/<span class="n">02_methods</span>.<span class="w">t</span></li><li>  <span class="w">lib</span>/<span class="w">ExtUtils</span>/<span class="w">t</span>/<span class="w">Embed</span>.<span class="w">t</span></li><li>  <span class="w">lib</span>/<span class="w">ExtUtils</span><span class="q">/t/</span><span class="w">eu_command</span>.<span class="w">t</span></li><li>  <span class="w">lib</span>/<span class="w">ExtUtils</span>/<span class="w">t</span>/<span class="w">MM_Cygwin</span>.<span class="w">t</span></li><li>  <span class="w">lib</span>/<span class="w">ExtUtils</span>/<span class="w">t</span>/<span class="w">MM_Unix</span>.<span class="w">t</span></li><li>  <span class="w">lib</span>/<span class="w">File</span>/<span class="w">Compare</span>.<span class="w">t</span></li><li>  <span class="w">lib</span>/<span class="w">File</span>/<span class="w">Copy</span>.<span class="w">t</span></li><li>  <span class="w">lib</span>/<span class="w">File</span>/<span class="w">Find</span>/<span class="w">t</span>/<span class="w">find</span>.<span class="w">t</span></li><li>  <span class="w">lib</span>/<span class="w">File</span>/<span class="w">Path</span>.<span class="w">t</span></li><li>  <span class="w">lib</span>/<span class="w">File</span>/<span class="w">Spec</span>/<span class="w">t</span>/<span class="w">crossplatform</span>.<span class="w">t</span></li><li>  <span class="w">lib</span>/<span class="w">File</span>/<span class="w">Spec</span>/<span class="w">t</span>/<span class="w">Spec</span>.<span class="w">t</span></li><li>  <span class="w">lib</span>/<span class="w">Net</span>/<span class="w">hostent</span>.<span class="w">t</span></li><li>  <span class="w">lib</span>/<span class="w">Net</span>/<span class="w">Ping</span>/<span class="w">t</span>/<span class="n">110_icmp_inst</span>.<span class="w">t</span></li><li>  <span class="w">lib</span>/<span class="w">Net</span>/<span class="w">Ping</span>/<span class="w">t</span>/<span class="n">500_ping_icmp</span>.<span class="w">t</span></li><li>  <span class="w">lib</span>/<span class="w">Net</span>/<span class="w">t</span>/<span class="w">netrc</span>.<span class="w">t</span></li><li>  <span class="w">lib</span>/<span class="w">Pod</span>/<span class="w">Simple</span>/<span class="w">t</span>/<span class="w">perlcyg</span>.<span class="w">pod</span></li><li>  <span class="w">lib</span>/<span class="w">Pod</span>/<span class="w">Simple</span>/<span class="w">t</span>/<span class="w">perlcygo</span>.<span class="w">txt</span></li><li>  <span class="w">lib</span>/<span class="w">Pod</span>/<span class="w">Simple</span>/<span class="w">t</span>/<span class="w">perlfaq</span>.<span class="w">pod</span></li><li>  <span class="w">lib</span>/<span class="w">Pod</span>/<span class="w">Simple</span>/<span class="w">t</span>/<span class="w">perlfaqo</span>.<span class="w">txt</span></li><li>  <span class="w">lib</span>/<span class="w">User</span>/<span class="w">grent</span>.<span class="w">t</span></li><li>  <span class="w">lib</span>/<span class="w">User</span>/<span class="w">pwent</span>.<span class="w">t</span></li></ol></pre></li>
</ul>
<a name="BUGS-ON-CYGWIN"></a><h1>BUGS ON CYGWIN</h1>
<p>Support for swapping real and effective user and group IDs is incomplete.
On WinNT Cygwin provides <code class="inline"><span class="i">setuid</span><span class="s">(</span><span class="s">)</span></code>
, <code class="inline"><span class="i">seteuid</span><span class="s">(</span><span class="s">)</span></code>
, <code class="inline"><span class="i">setgid</span><span class="s">(</span><span class="s">)</span></code>
 and <code class="inline"><span class="i">setegid</span><span class="s">(</span><span class="s">)</span></code>
.
However, additional Cygwin calls for manipulating WinNT access tokens
and security contexts are required.</p>
<a name="AUTHORS"></a><h1>AUTHORS</h1>
<p>Charles Wilson &lt;cwilson@ece.gatech.edu&gt;,
Eric Fifer &lt;egf7@columbia.edu&gt;,
alexander smishlajev &lt;als@turnhere.com&gt;,
Steven Morlock &lt;newspost@morlock.net&gt;,
Sebastien Barre &lt;Sebastien.Barre@utc.fr&gt;,
Teun Burgers &lt;burgers@ecn.nl&gt;,
Gerrit P. Haase &lt;gp@familiehaase.de&gt;,
Reini Urban &lt;rurban@cpan.org&gt;,
Jan Dubois &lt;jand@activestate.com&gt;,
Jerry D. Hedden &lt;jdhedden@cpan.org&gt;.</p>
<a name="HISTORY"></a><h1>HISTORY</h1>
<p>Last updated: 2012-02-08</p>




  <div id="page_index" class="hud_container">
    <div id="page_index_header" class="hud_header">
      <div id="page_index_close" class="hud_close"><a href="#" onClick="pageIndex.hide();return false;"></a></div>
      <div id="page_index_title" class="hud_title"><span class="hud_span_top">Page index</span></div>
      <div id="page_index_topright" class="hud_topright"></div>
    </div>
    <div id="page_index_content" class="hud_content">
      <ul><li><a href="#NAME">NAME</a><li><a href="#SYNOPSIS">SYNOPSIS</a><li><a href="#PREREQUISITES-FOR-COMPILING-PERL-ON-CYGWIN">PREREQUISITES FOR COMPILING PERL ON CYGWIN</a><ul><li><a href="#Cygwin-%3d-GNU%2bCygnus%2bWindows-(Don't-leave-UNIX-without-it)">Cygwin = GNU+Cygnus+Windows (Don't leave UNIX without it)</a><li><a href="#Cygwin-Configuration">Cygwin Configuration</a></ul><li><a href="#CONFIGURE-PERL-ON-CYGWIN">CONFIGURE PERL ON CYGWIN</a><ul><li><a href="#Stripping-Perl-Binaries-on-Cygwin">Stripping Perl Binaries on Cygwin</a><li><a href="#Optional-Libraries-for-Perl-on-Cygwin">Optional Libraries for Perl on Cygwin</a><li><a href="#Configure-time-Options-for-Perl-on-Cygwin">Configure-time Options for Perl on Cygwin</a><li><a href="#Suspicious-Warnings-on-Cygwin">Suspicious Warnings on Cygwin</a></ul><li><a href="#MAKE-ON-CYGWIN">MAKE ON CYGWIN</a><li><a href="#TEST-ON-CYGWIN">TEST ON CYGWIN</a><ul><li><a href="#File-Permissions-on-Cygwin">File Permissions on Cygwin</a><li><a href="#NDBM_File-and-ODBM_File-do-not-work-on-FAT-filesystems">NDBM_File and ODBM_File do not work on FAT filesystems</a><li><a href="#fork()-failures-in-io_*-tests">fork() failures in io_* tests</a></ul><li><a href="#Specific-features-of-the-Cygwin-port">Specific features of the Cygwin port</a><ul><li><a href="#Script-Portability-on-Cygwin">Script Portability on Cygwin</a><li><a href="#Prebuilt-methods%3a">Prebuilt methods:</a></ul><li><a href="#INSTALL-PERL-ON-CYGWIN">INSTALL PERL ON CYGWIN</a><li><a href="#MANIFEST-ON-CYGWIN">MANIFEST ON CYGWIN</a><li><a href="#BUGS-ON-CYGWIN">BUGS ON CYGWIN</a><li><a href="#AUTHORS">AUTHORS</a><li><a href="#HISTORY">HISTORY</a></ul>
    </div>
    <div id="page_index_footer" class="hud_footer">
      <div id="page_index_bottomleft" class="hud_bottomleft"></div>
      <div id="page_index_bottom" class="hud_bottom"><span class="hud_span_bottom"></span></div>
      <div id="page_index_resize" class="hud_resize"></div>
    </div>
  </div>


	    &nbsp;
          </div>
          <div id="content_footer">
          </div>
        </div>
        <div class="clear"></div>
      </div>
      
    <div id="footer">
      <div id="footer_content">
        <div id="footer_strapline">
          perldoc.perl.org - Official documentation for the Perl programming language
        </div>
        <div id="footer_links">
          <div id="address">
            <p class="name">Contact details</p>
            <p class="address">
	      Site maintained by <a href="mailto:jj@jonallen.info">Jon Allen (JJ)</a><br>
	    </p>
            <p class="contact">
              Documentation maintained by the <a href="http://lists.cpan.org/showlist.cgi?name=perl5-porters">Perl 5 Porters</a>
            </p>
          </div>
          <ul class="f1">
            <li>Manual
              <ul class="f2">
                <li><a href="index-overview.html">Overview</a>
                <li><a href="index-tutorials.html">Tutorials</a>
                <li><a href="index-faq.html">FAQs</a>
                <li><a href="index-history.html">Changes</a>
              </ul>
            <li>Reference
              <ul class="f2">
                <li><a href="index-language.html">Language</a>
                <li><a href="index-functions.html">Functions</a>
                <li><a href="perlop.html">Operators</a>
                <li><a href="perlvar.html">Variables</a>
              </ul>
            <li>Modules
              <ul class="f2">
                <li><a href="index-modules-A.html">Modules</a>
                <li><a href="index-pragmas.html">Pragmas</a>
                <li><a href="index-utilities.html">Utilities</a>
              </ul>
            <li>Misc
              <ul class="f2">
                <li><a href="index-licence.html">License</a>
                <li><a href="index-internals.html">Internals</a>
                <li><a href="index-platforms.html">Platforms</a>
              </ul>          </ul>
          <div class="clear"></div>
        </div>
      </div>
      <div id="footer_end">
      </div>
    </div>
      
    </div>
      <script language="JavaScript" type="text/javascript" src="static/exploreperl.js"></script>
      <script language="JavaScript" src="static/combined-20100403.js" type="text/javascript"></script>
<script language="JavaScript" type="text/javascript">
  perldoc.setPath(0);
  perldoc.pageName    = 'perlcygwin';
  perldoc.pageAddress = 'perlcygwin.html';
  perldoc.contentPage = 1;
  explorePerl.render();
  explorePerl.addEvents('explore_anchor');
</script>
    
  </body>
</html>