⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 perlcygwin.1

📁 视频监控网络部分的协议ddns,的模块的实现代码,请大家大胆指正.
💻 1
📖 第 1 页 / 共 3 页
字号:
.\" Automatically generated by Pod::Man 2.16 (Pod::Simple 3.05).\".\" Standard preamble:.\" ========================================================================.de Sh \" Subsection heading.br.if t .Sp.ne 5.PP\fB\\$1\fR.PP...de Sp \" Vertical space (when we can't use .PP).if t .sp .5v.if n .sp...de Vb \" Begin verbatim text.ft CW.nf.ne \\$1...de Ve \" End verbatim text.ft R.fi...\" Set up some character translations and predefined strings.  \*(-- will.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left.\" double quote, and \*(R" will give a right double quote.  \*(C+ will.\" give a nicer C++.  Capital omega is used to do unbreakable dashes and.\" therefore won't be available.  \*(C` and \*(C' expand to `' in nroff,.\" nothing in troff, for use with C<>..tr \(*W-.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'.ie n \{\.    ds -- \(*W-.    ds PI pi.    if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch.    if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\"  diablo 12 pitch.    ds L" "".    ds R" "".    ds C` "".    ds C' ""'br\}.el\{\.    ds -- \|\(em\|.    ds PI \(*p.    ds L" ``.    ds R" '''br\}.\".\" Escape single quotes in literal strings from groff's Unicode transform..ie \n(.g .ds Aq \(aq.el       .ds Aq '.\".\" If the F register is turned on, we'll generate index entries on stderr for.\" titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and index.\" entries marked with X<> in POD.  Of course, you'll have to process the.\" output yourself in some meaningful fashion..ie \nF \{\.    de IX.    tm Index:\\$1\t\\n%\t"\\$2"...    nr % 0.    rr F.\}.el \{\.    de IX...\}.\".\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2)..\" Fear.  Run.  Save yourself.  No user-serviceable parts..    \" fudge factors for nroff and troff.if n \{\.    ds #H 0.    ds #V .8m.    ds #F .3m.    ds #[ \f1.    ds #] \fP.\}.if t \{\.    ds #H ((1u-(\\\\n(.fu%2u))*.13m).    ds #V .6m.    ds #F 0.    ds #[ \&.    ds #] \&.\}.    \" simple accents for nroff and troff.if n \{\.    ds ' \&.    ds ` \&.    ds ^ \&.    ds , \&.    ds ~ ~.    ds /.\}.if t \{\.    ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u".    ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'.    ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'.    ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'.    ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'.    ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'.\}.    \" troff and (daisy-wheel) nroff accents.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'.ds 8 \h'\*(#H'\(*b\h'-\*(#H'.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#].ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#].ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#].ds ae a\h'-(\w'a'u*4/10)'e.ds Ae A\h'-(\w'A'u*4/10)'E.    \" corrections for vroff.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'.    \" for low resolution devices (crt and lpr).if \n(.H>23 .if \n(.V>19 \\{\.    ds : e.    ds 8 ss.    ds o a.    ds d- d\h'-1'\(ga.    ds D- D\h'-1'\(hy.    ds th \o'bp'.    ds Th \o'LP'.    ds ae ae.    ds Ae AE.\}.rm #[ #] #H #V #F C.\" ========================================================================.\".IX Title "PERLCYGWIN 1".TH PERLCYGWIN 1 "2007-12-18" "perl v5.10.0" "Perl Programmers Reference Guide".\" For nroff, turn off justification.  Always turn off hyphenation; it makes.\" way too many mistakes in technical documents..if n .ad l.nh.SH "NAME"README.cygwin \- Perl for Cygwin.SH "SYNOPSIS".IX Header "SYNOPSIS"This document will help you configure, make, test and install Perlon Cygwin.  This document also describes features of Cygwin that willaffect how Perl behaves at runtime..PP\&\fB\s-1NOTE:\s0\fR There are pre-built Perl packages available for Cygwin and aversion of Perl is provided in the normal Cygwin install.  If you donot need to customize the configuration, consider using one of thosepackages..SH "PREREQUISITES FOR COMPILING PERL ON CYGWIN".IX Header "PREREQUISITES FOR COMPILING PERL ON CYGWIN".Sh "Cygwin = GNU+Cygnus+Windows (Don't leave \s-1UNIX\s0 without it)".IX Subsection "Cygwin = GNU+Cygnus+Windows (Don't leave UNIX without it)"The Cygwin tools are ports of the popular \s-1GNU\s0 development tools for Win32platforms.  They run thanks to the Cygwin library which provides the \s-1UNIX\s0system calls and environment these programs expect.  More informationabout this project can be found at:.PP.Vb 1\&  F<http://www.cygwin.com/>.Ve.PPA recent net or commercial release of Cygwin is required..PPAt the time this document was last updated, Cygwin 1.5.24 was current..Sh "Cygwin Configuration".IX Subsection "Cygwin Configuration"While building Perl some changes may be necessary to your Cygwin setup sothat Perl builds cleanly.  These changes are \fBnot\fR required for normalPerl usage..PP\&\fB\s-1NOTE:\s0\fR The binaries that are built will run on all Win32 versions.They do not depend on your host system (Win9x/WinME, WinNT/Win2K)or your Cygwin configuration (\fIntea\fR, \fIntsec\fR, binary/text mounts).The only dependencies come from hard-coded pathnames like \f(CW\*(C`/usr/local\*(C'\fR.However, your host system and Cygwin configuration will affect Perl'sruntime behavior (see \*(L"\s-1TEST\s0\*(R")..IP "\(bu" 4\&\f(CW\*(C`PATH\*(C'\fR.SpSet the \f(CW\*(C`PATH\*(C'\fR environment variable so that Configure finds the Cygwinversions of programs.  Any Windows directories should be removed ormoved to the end of your \f(CW\*(C`PATH\*(C'\fR..IP "\(bu" 4\&\fInroff\fR.SpIf you do not have \fInroff\fR (which is part of the \fIgroff\fR package),Configure will \fBnot\fR prompt you to install \fIman\fR pages..IP "\(bu" 4Permissions.SpOn WinNT with either the \fIntea\fR or \fIntsec\fR \f(CW\*(C`CYGWIN\*(C'\fR settings, directoryand file permissions may not be set correctly.  Since the build processcreates directories and files, to be safe you may want to run a\&\f(CW\*(C`chmod \-R +w *\*(C'\fR on the entire Perl source tree..SpAlso, it is a well known WinNT \*(L"feature\*(R" that files created by a loginthat is a member of the \fIAdministrators\fR group will be owned by the\&\fIAdministrators\fR group.  Depending on your umask, you may find that youcan not write to files that you just created (because you are no longerthe owner).  When using the \fIntsec\fR \f(CW\*(C`CYGWIN\*(C'\fR setting, this is not anissue because it \*(L"corrects\*(R" the ownership to what you would expect ona \s-1UNIX\s0 system..SH "CONFIGURE PERL ON CYGWIN".IX Header "CONFIGURE PERL ON CYGWIN"The default options gathered by Configure with the assistance of\&\fIhints/cygwin.sh\fR will build a Perl that supports dynamic loading(which requires a shared \fIlibperl.dll\fR)..PPThis will run Configure and keep a record:.PP.Vb 1\&  ./Configure 2>&1 | tee log.configure.Ve.PPIf you are willing to accept all the defaults run Configure with \fB\-de\fR.However, several useful customizations are available..Sh "Stripping Perl Binaries on Cygwin".IX Subsection "Stripping Perl Binaries on Cygwin"It is possible to strip the EXEs and DLLs created by the build process.The resulting binaries will be significantly smaller.  If you want thebinaries to be stripped, you can either add a \fB\-s\fR option when Configureprompts you,.PP.Vb 4\&  Any additional ld flags (NOT including libraries)? [none] \-s\&  Any special flags to pass to g++ to create a dynamically loaded library?\&  [none] \-s\&  Any special flags to pass to gcc to use dynamic linking? [none] \-s.Ve.PPor you can edit \fIhints/cygwin.sh\fR and uncomment the relevant variablesnear the end of the file..Sh "Optional Libraries for Perl on Cygwin".IX Subsection "Optional Libraries for Perl on Cygwin"Several Perl functions and modules depend on the existence ofsome optional libraries.  Configure will find them if they areinstalled in one of the directories listed as being used for librarysearches.  Pre-built packages for most of these are available fromthe Cygwin installer..IP "\(bu" 4\&\f(CW\*(C`\-lcrypt\*(C'\fR.SpThe crypt package distributed with Cygwin is a Linux compatible 56\-bit\&\s-1DES\s0 crypt port by Corinna Vinschen..SpAlternatively, the crypt libraries in \s-1GNU\s0 libc have been ported to Cygwin..SpThe \s-1DES\s0 based Ultra Fast Crypt port was done by Alexey Truhan:.Sp.Vb 1\&  ftp://ftp.uni\-erlangen.de/pub/pc/gnuwin32/cygwin/porters/Okhapkin_Sergey/cw32crypt\-dist\-0.tgz.Ve.Sp\&\s-1NOTE:\s0 There are various export restrictions on \s-1DES\s0 implementations,see the glibc \s-1README\s0 for more details..SpThe \s-1MD5\s0 port was done by Andy Piper:.Sp.Vb 1\&  ftp://ftp.uni\-erlangen.de/pub/pc/gnuwin32/cygwin/porters/Okhapkin_Sergey/libcrypt.tgz.Ve.IP "\(bu" 4\&\f(CW\*(C`\-lgdbm_compat\*(C'\fR (\f(CW\*(C`use GDBM_File\*(C'\fR).Sp\&\s-1GDBM\s0 is available for Cygwin..Sp\&\s-1NOTE:\s0 The \s-1GDBM\s0 library only works on \s-1NTFS\s0 partitions..IP "\(bu" 4\&\f(CW\*(C`\-ldb\*(C'\fR (\f(CW\*(C`use DB_File\*(C'\fR).SpBerkeleyDB is available for Cygwin..Sp\&\s-1NOTE:\s0 The BerkeleyDB library only completely works on \s-1NTFS\s0 partitionsand db\-4.3 is flawed..IP "\(bu" 4\&\f(CW\*(C`cygserver\*(C'\fR (\f(CW\*(C`use IPC::SysV\*(C'\fR).SpA port of SysV \s-1IPC\s0 is available for Cygwin..Sp\&\s-1NOTE:\s0 This has \fBnot\fR been extensively tested.  In particular,\&\f(CW\*(C`d_semctl_semun\*(C'\fR is undefined because it fails a Configure testand on Win9x the \fIshm*()\fR functions seem to hang.  It also createsa compile time dependency because \fIperl.h\fR includes \fI<sys/ipc.h\fR>and \fI<sys/sem.h\fR> (which will be required in the future when compiling\&\s-1CPAN\s0 modules). \s-1CURRENTLY\s0 \s-1NOT\s0 \s-1SUPPORTED\s0!.IP "\(bu" 4\&\f(CW\*(C`\-lutil\*(C'\fR.SpIncluded with the standard Cygwin netrelease is the inetutils packagewhich includes libutil.a..Sh "Configure-time Options for Perl on Cygwin".IX Subsection "Configure-time Options for Perl on Cygwin"The \fI\s-1INSTALL\s0\fR document describes several Configure-time options.  Some ofthese will work with Cygwin, others are not yet possible.  Also, some ofthese are experimental.  You can either select an option when Configureprompts you or you can define (undefine) symbols on the command line..IP "\(bu" 4\&\f(CW\*(C`\-Uusedl\*(C'\fR.SpUndefining this symbol forces Perl to be compiled statically..IP "\(bu" 4\&\f(CW\*(C`\-Uusemymalloc\*(C'\fR.SpBy default Perl uses the \f(CW\*(C`malloc()\*(C'\fR included with the Perl source.  If you

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -