📄 wclhelp.h
字号:
/****************************************************************************
*
* Open Watcom Project
*
* Portions Copyright (c) 1983-2002 Sybase, Inc. All Rights Reserved.
*
* ========================================================================
*
* This file contains Original Code and/or Modifications of Original
* Code as defined in and that are subject to the Sybase Open Watcom
* Public License version 1.0 (the 'License'). You may not use this file
* except in compliance with the License. BY USING THIS FILE YOU AGREE TO
* ALL TERMS AND CONDITIONS OF THE LICENSE. A copy of the License is
* provided with the Original Code and Modifications, and is also
* available at www.sybase.com/developer/opensource.
*
* The Original Code and all software distributed under the License are
* distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
* EXPRESS OR IMPLIED, AND SYBASE AND ALL CONTRIBUTORS HEREBY DISCLAIM
* ALL SUCH WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR
* NON-INFRINGEMENT. Please see the License for the specific language
* governing rights and limitations under the License.
*
* ========================================================================
*
* Description: Usage help for wcl.
*
****************************************************************************/
#ifdef WCLAXP
E("Usage: wclaxp [options] file(s)")
J("Usage: wclaxp [options] file(s)")
#elif defined(WCLPPC)
E("Usage: wclppc [options] file(s)")
J("Usage: wclppc [options] file(s)")
#elif defined(WCL386)
E("Usage: wcl386 [options] file(s)")
J("Usage: wcl386 [options] file(s)")
#else
E("Usage: wcl [options] file(s)")
J("Usage: wcl [options] file(s)")
#endif
#ifndef __UNIX__
E("Options: ( /option is also accepted )")
J("Options: ( /option is also accepted )")
#endif
E("-c compile only, no link")
J("-c compile only, no link")
E("-cc treat source files as C code")
J("-cc treat source files as C code")
E("-cc++ treat source files as C++ code")
J("-cc++ treat source files as C++ code")
#ifdef WCLAXP
E("-y ignore the WCLAXP environment variable")
J("-y ignore the WCLAXP environment variable")
#elif defined(WCLPPC)
E("-y ignore the WCLPPC environment variable")
J("-y ignore the WCLPPC environment variable")
#elif defined(WCL386)
E("-y ignore the WCL386 environment variable")
J("-y ignore the WCL386 environment variable")
#else
E("-y ignore the WCL environment variable")
J("-y ignore the WCL environment variable")
#endif
#ifdef WCL386
E("[Processor options]")
J("[Processor options]")
E("-3r 386 register calling conventions")
J("-3r 386 register calling conventions")
E("-3s 386 stack calling conventions")
J("-3s 386 stack calling conventions")
E("-4r 486 register calling conventions")
J("-4r 486 register calling conventions")
E("-4s 486 stack calling conventions")
J("-4s 486 stack calling conventions")
E("-5r Pentium register calling conv.")
J("-5r Pentium register calling conv.")
E("-5s Pentium stack calling conventions")
J("-5s Pentium stack calling conventions")
E("-6r Pentium Pro register call conven.")
J("-6r Pentium Pro register call conven.")
E("-6s Pentium Pro stack call conven.")
J("-6s Pentium Pro stack call conven.")
#elif defined(WCLI86)
E("[Processor options]")
J("[Processor options]")
E("-0 generate code for 8086 or higher")
J("-0 generate code for 8086 or higher")
E("-1 generate code for 186 or higher")
J("-1 generate code for 186 or higher")
E("-2 generate code for 286 or higher")
J("-2 generate code for 286 or higher")
E("-3 generate code for 386 or higher")
J("-3 generate code for 386 or higher")
E("-4 generate code optimized for 486")
J("-4 generate code optimized for 486")
E("-5 generate code optimized for Pentium")
J("-5 generate code optimized for Pentium")
E("-6 generate code opt. for Pentium Pro")
J("-6 generate code opt. for Pentium Pro")
#endif
#if defined(WCLI86) || defined(WCL386)
E("[Floating-point processor options]")
J("[Floating-point processor options]")
E("-fpc calls to floating-point library")
J("-fpc calls to floating-point library")
E("-fpd enable Pentium FDIV check")
J("-fpd enable Pentium FDIV check")
E("-fpi inline 80x87 with emulation")
J("-fpi inline 80x87 with emulation")
E("-fpi87 inline 80x87")
J("-fpi87 inline 80x87")
E("-fpr use old floating-point conventions")
J("-fpr use old floating-point conventions")
E("-fp2 generate 287 floating-point code")
J("-fp2 generate 287 floating-point code")
E("-fp3 generate 387 floating-point code")
J("-fp3 generate 387 floating-point code")
E("-fp5 optimize f-p for Pentium")
J("-fp5 optimize f-p for Pentium")
E("-fp6 optimize f-p for Pentium Pro")
J("-fp6 optimize f-p for Pentium Pro")
#endif
E("[Compiler options]")
J("[Compiler options]")
E("-db generate browsing information")
J("-db generate browsing information")
E("-e=<n> set error limit number")
J("-e=<n> set error limit number")
E("-ee call epilogue hook routine")
J("-ee call epilogue hook routine")
E("-ef full paths in messages")
J("-ef full paths in messages")
E("-ei force enums to be type int")
J("-ei force enums to be type int")
E("-em minimum base type for enum is int")
J("-em minimum base type for enum is int")
E("-en emit routine names in the code")
J("-en emit routine names in the code")
E("-ep[=<n>] call prologue hook routine")
J("-ep[=<n>] call prologue hook routine")
E("-eq do not display error messages")
J("-eq do not display error messages")
#ifdef WCL386
E("-et P5 profiling")
J("-et P5 profiling")
E("-ez generate PharLap EZ-OMF object")
J("-ez generate PharLap EZ-OMF object")
#endif
E("-fh=<file> pre-compiled headers")
J("-fh=<file> pre-compiled headers")
E("-fhq[=<file>] fh without warnings")
J("-fhq[=<file>] fh without warnings")
E("-fhr (C++) only read PCH")
J("-fhr (C++) only read PCH")
E("-fhw (C++) only write PCH")
J("-fhw (C++) only write PCH")
E("-fhwe (C++) don't count PCH warnings")
J("-fhwe (C++) don't count PCH warnings")
E("-fi=<file> force include of file")
J("-fi=<file> force include of file")
E("-fo=<file> set object file name")
J("-fo=<file> set object file name")
E("-fr=<file> set error file name")
J("-fr=<file> set error file name")
E("-ft (C++) check for 8.3 file names")
J("-ft (C++) check for 8.3 file names")
E("-fx (C++) no check for 8.3 file names")
J("-fx (C++) no check for 8.3 file names")
#if defined(WCLI86) || defined(WCL386)
E("-g=<codegroup> set code group name")
J("-g=<codegroup> set code group name")
#endif
E("-hc codeview debug format")
J("-hc codeview debug format")
E("-hd dwarf debug format")
J("-hd dwarf debug format")
E("-hw watcom debug format")
J("-hw watcom debug format")
E("-j change char default to signed")
J("-j change char default to signed")
#ifdef WCL386
E("-m{f,s,m,c,l} memory model")
J("-m{f,s,m,c,l} memory model")
#elif defined(WCLP16)
E("-m{t,s,m,c,l,h,p} memory model")
J("-m{t,s,m,c,l,h,p} memory model")
#elif defined(WCLI86)
E("-m{t,s,m,c,l,h} memory model")
J("-m{t,s,m,c,l,h} memory model")
#endif
#if defined(WCLI86) || defined(WCL386)
E("-nc=<name> set CODE class name")
J("-nc=<name> set CODE class name")
E("-nd=<name> set data segment name")
J("-nd=<name> set data segment name")
E("-nm=<module_name> set module name")
J("-nm=<module_name> set module name")
E("-nt=<name> set text segment name")
J("-nt=<name> set text segment name")
E("-r save/restore segregs across calls")
J("-r save/restore segregs across calls")
#endif
E("-ri promote function args/rets to int")
J("-ri promote function args/rets to int")
E("-s remove stack overflow checks")
J("-s remove stack overflow checks")
#if defined(WCLI86) || defined(WCL386)
E("-sg generate calls to grow the stack")
J("-sg generate calls to grow the stack")
E("-st touch stack through SS first")
J("-st touch stack through SS first")
#endif
E("-v output func declarations to .def")
J("-v output func declarations to .def")
E("-vcap VC++ compat: alloca in arg lists")
J("-vcap VC++ compat: alloca in arg lists")
E("-w=<n> set warning level number")
J("-w=<n> set warning level number")
E("-wcd=<n> disable warning message <n>")
J("-wcd=<n> disable warning message <n>")
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -