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

📄 p2cc.man

📁 把pascal程序转成C语言程序 把pascal程序转成C语言程序
💻 MAN
字号:
.\" p2cc  Copyright 1993 Free Software Foundation.TH P2CC 1 "local".SH NAMEp2cc \- Pascal compiler using p2c.SH SYNOPSIS.B p2cc[ options and files ].SH DESCRIPTION.I P2ccis a Pascal compiler that works by running.I p2c,the Pascal to C translator, followed by.I cc,the C compiler..PPAll command-line options and arguments are passed directly tothe C compiler, except that files ending with.B .por.B .pasare passed through.I p2cfirst, and that the options listed below are interpreted specially by.I p2cc.As usual, programs made up of several source modules can be compiledall on one.I p2cccommand, or separately using.IB p2cc "\ -c"and then linked afterwards with a final.I p2cccommand..SH OPTIONS.TP.B \-p2cTranslate.B .pand.B .pasfiles to C but do not compile the resulting.B .cfiles.  This is analogous to the.B \-Sand.B \-coptions of most C compilers, which stop with assembly language orunlinked object files, respectively..TP.BI \-p2c optionPass.I optionto.I p2crather than to the C compiler..TP.B \-OThis switch is passed on to the C compiler to enable optionaloptimization of the program.  It also instructs.I p2cto do a few optimizations of its own, e.g., disabling certainrun-time range checks..TP.BI \-I dirThe.B \-Iswitch is passed to both.I p2cand the C compiler, where it will identify places to look forPascal interface texts or C.B .hfiles, respectively..TP.B \-vEnable "verbose" mode.  This affects both.I p2cand the C compiler..SH ENVIRONMENTThe following environment variables may be used to affect theoperation of.I p2cc..TP.B P2CC_PATThis variable holds a regular expression for recognizing the namesof Pascal files.  By default, it recognizes strings which end in.B .por.B .pas..TP.B P2CC_CCThis holds the name of the command to run the C compiler.Default is.B cc..TP.B P2CC_CCOPTSThis holds additional arguments to be passed to the.B cccommand, before the names of any source files..TP.B P2CC_CCOPTS2These arguments are passed to the.B cccommand.I afterthe names of source files..TP.B P2CC_LIBP2CThis is the name of the.B libp2c.afile holding.I p2cruntime routines.  Its default is.B \-lp2c,which causes the linker to look for.B libp2c.ain the usual places for libraries..TP.B P2CC_P2CThis holds the name of the command to run.I p2c.It is.B p2cby default..TP.B P2CC_P2COPTSThese are arguments to be passed to.I p2con the command line.  The default specifies.B \-comp,which set the defaults for various.I p2cconfiguration options to be more suitable for compilation ratherthan translation, and.B \-local,which sets other options to work on the assumption that the outputfrom.I p2cwill be compiled and run on the same type of machine that ran.I p2citself..TP.B P2CC_SUFFIXThis is the suffix to use for the names of temporary C source files.The default is.B ..c,ensuring that.I p2cwill not inadvertently erase.B .cfiles in the same directory as the Pascal source files.  Note thatif the.B \-p2coption is used, the suffix is forced instead to.B .csince the user has explicitly asked for C source files..SH AUTHORDave Gillespie, daveg@synaptics.com..SH SEE ALSO.BR p2c (1),.BR cc(1)

⌨️ 快捷键说明

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