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

📄 ide.mfg

📁 开放源码的编译器open watcom 1.6.0版的源代码
💻 MFG
📖 第 1 页 / 共 5 页
字号:
rem  System abbreviations used here are five characters 'smpth' where
rem  's' is the target system
rem     d DOS
rem     o OS/2
rem     l Netware NLM
rem     n Windows NT
rem     q QNX
rem     w Windows 3.x
rem     x Linux
rem  'm' modifies the system specified in 's'
rem     dc DOS .com file
rem     df Flashtek, register based calling conventions
rem     ds Flashtek, stack based calling conventions
rem     dp Pharlap
rem     dt Pharlap tnt
rem     dr Tenberry DOS/4G
rem     dw CauseWay DOS32
rem     dx CauseWay DLL, register based calling conventions
rem     dy CauseWay DLL, stack based calling conventions
rem     dm PMODE/W
rem     da DOS32/A le format
rem     db DOS32/A lx format
rem     nc Windows NT character mode executable
rem     nw Windows NT windowed executable
rem     nm 32-bit MFC static linkage
rem     na 32-bit MFC DLL linkage
rem     no 32-bit MFC Unicode DLL linkage
rem     nu 32-bit MFC Unicode static linkage
rem     np Windows NT PowerBuilder DLL
rem     oc OS/2 PM Compatible
rem     op OS/2 PM
rem     of OS/2 Full screen
rem     ov OS/2 Virtual device
rem     wm Windows 3.x MFC 2.X application, static linkage
rem     wa Windows 3.x MFC 2.X application, DLL linkage
rem     wp Windows 3.x PowerBuilder DLL
rem     ws Windows 3.x application (not Visual Programmer)
rem     qn qnx neutrino (ELF)
rem     q4 qnx 4.0
rem     qo qnx
rem  'p' is the processor
rem     6 for 16 bit x86
rem     2 for 32 bit x86
rem     A for Alpha ( 32 bit )
rem     M for MIPS
rem     P for PPC
rem  't' is the type of target
rem     e executable
rem     d dll
rem     s library
rem     h help file
rem     i inf file
rem  'h' is the host system
rem     o OS/2 PM
rem     s Win-OS/2
rem     n Windows NT
rem     9 Windows 95
rem     w Windows 3.x
rem     j Japanese Windows 3.x on an IBM
rem     8 Japanese Windows 3.x on a Nec98
rem     a Dec Alpha (Windows NT)
rem If you add new hosts, also change bld\viper\mviper\mconfig.c


Version 4

IncludeFile override.cfg

Tool WMAKE "Make Utility"
  Family Make
    CSwitch 0, ?????, "", "wmake -f $(%_makefile)", ON
    CSwitch 0, ?????, "Make all targets", -a, OFF
    CSwitch 0, ?????, "Don't print header", -h, ON
    CSwitch 0, ?????, "Erase bad targets", -e, ON
    CSwitch 0, ?????, "Ignore bad targets", -i, OFF
    CSwitch 0, ?????, "Don't check for files made", -c, OFF
    CSwitch 0, ?????, "Don't use MAKEINIT file", -m, OFF
    CSwitch 0, ?????, "Use circular path", -o, OFF
    CSwitch 0, ?????, "Print info", -p, OFF
    CSwitch 0, ?????, "Ignore built-in defns", -r, OFF
    CSwitch 0, ?????, "Only touch files", -t, OFF
    CSwitch 0, ?????, "Do not erase files", -z, OFF
    CSwitch 1, ?????, "Echo progress of work", -d, OFF
    CSwitch 1, ?????, "Continue after an error", -k, OFF
    CSwitch 1, ?????, "Print without executing", -n, OFF
    CSwitch 1, ?????, "Query mode", -q, OFF
    CSwitch 1, ?????, "Silent mode", -s, OFF
    VSwitch 1, ?????, "Append output to log:", -l, " ", ONE, OFF, "$*.lst"
    VSwitch 1, ?????, "Other options:",,, ONE, REQ, ""

Tool RUN "User Application"
  Family Application
    CSwitch 0, x???d, "", "!Error Cannot run Linux target under DOS$", ON
    CSwitch 0, x???o, "", "!Error Cannot run Linux target under OS/2$", ON
    CSwitch 0, x???l, "", "!Error Cannot run Linux target under Netware$", ON
    CSwitch 0, x???n, "", "!Error Cannot run Linux target under Win32$", ON
    CSwitch 0, x???q, "", "!Error Cannot run Linux target under QNX$", ON
    CSwitch 0, x???w, "", "!Error Cannot run Linux target under Win16$", ON
rem make fullscreen an option where both windowed & fullscreen work
    CSwitch 0, oc?eo, "Fullscreen", "!Fullscreen", OFF
    CSwitch 0, of?eo, "Fullscreen", "!Fullscreen", ON
    CSwitch 0, ov?eo, "Fullscreen", "!Fullscreen", OFF
    CSwitch 0, d??eo, "Fullscreen", "!Fullscreen", ON
    CSwitch 0, dr2e?, "", $(%watcom)\binw\dos4gw, ON
    CSwitch 0, dw2e?, "", $(%watcom)\binw\cwstub, ON
rem Pharlap run386 must be in your path
    CSwitch 0, dp2e?, "", run386, ON
rem Pharlap TNT run386 must be in your path
    CSwitch 0, dt2e?, "", tnt, ON
    CSwitch 0, w?2eo, "", "!Fullscreen", ON
    CSwitch 0, ???eo, "",, ON
    CSwitch 0, ?????, "", $@, ON
    VSwitch 0, ?????, "Application parameters:",,, ONE, REQ, ""

Tool WDEBUG "Local Debugger"
  Family "Debugging Session"
    CSwitch 0, n???o, "", "!Error Cannot locally debug a Windows NT target in OS/2$", ON
    CSwitch 0, w?2?o, "", "!Error Cannot locally debug a 32bit Windows 3.x program in OS/2$", ON
    CSwitch 0, df2e?, "", "!Error Cannot locally debug a FlashTek executable$", ON
    CSwitch 0, ds2e?, "", "!Error Cannot locally debug a FlashTek executable$", ON
    CSwitch 0, x???d, "", "!Error Cannot locally debug a Linux target under DOS$", ON
    CSwitch 0, x???o, "", "!Error Cannot locally debug a Linux target under OS/2$", ON
    CSwitch 0, x???l, "", "!Error Cannot locally debug a Linux target under Netware$", ON
    CSwitch 0, x???n, "", "!Error Cannot locally debug a Linux target under Win32$", ON
    CSwitch 0, x???q, "", "!Error Cannot locally debug a Linux target under QNX$", ON
    CSwitch 0, x???w, "", "!Error Cannot locally debug a Linux target under Win16$", ON
    CSwitch 0, dr2en, "", "$(%watcom)\\binw\\vdmserv /once /tr=$(%watcom)\\binw\\rsi.trp $&\n", ON
    CSwitch 0, dw2en, "", "$(%watcom)\\binw\\vdmserv /once /tr=$(%watcom)\\binw\\cw.trp $&\n", ON
    CSwitch 0, dp2en, "", "$(%watcom)\\binw\\vdmserv /once /tr=$(%watcom)\\binw\\pls.trp $&\n", ON
    CSwitch 0, dt2en, "", "$(%watcom)\\binw\\vdmserv /once /tr=$(%watcom)\\binw\\pls.trp $&\n", ON
    CSwitch 0, da2en, "", "$(%watcom)\\binw\\vdmserv /once /tr=$(%watcom)\\binw\\rsi.trp $&\n", ON
    CSwitch 0, db2en, "", "$(%watcom)\\binw\\vdmserv /once /tr=$(%watcom)\\binw\\rsi.trp $&\n", ON
    CSwitch 0, dm2en, "", "$(%watcom)\\binw\\vdmserv /once /tr=$(%watcom)\\binw\\rsi.trp $&\n", ON
    CSwitch 0, d?6en, "", "$(%watcom)\\binw\\vdmserv /once /tr=$(%watcom)\\binw\\std.trp $&\n", ON
    CSwitch 0, dr2e9, "", "$(%watcom)\\binw\\winserv /once /tr=$(%watcom)\\binw\\rsi.trp $&\n", ON
    CSwitch 0, dw2e9, "", "$(%watcom)\\binw\\winserv /once /tr=$(%watcom)\\binw\\cw.trp $&\n", ON
    CSwitch 0, dp2e9, "", "$(%watcom)\\binw\\winserv /once /tr=$(%watcom)\\binw\\pls.trp $&\n", ON
    CSwitch 0, dt2e9, "", "$(%watcom)\\binw\\winserv /once /tr=$(%watcom)\\binw\\pls.trp $&\n", ON
    CSwitch 0, da2e9, "", "$(%watcom)\\binw\\winserv /once /tr=$(%watcom)\\binw\\rsi.trp $&\n", ON
    CSwitch 0, db2e9, "", "$(%watcom)\\binw\\winserv /once /tr=$(%watcom)\\binw\\rsi.trp $&\n", ON
    CSwitch 0, dm2e9, "", "$(%watcom)\\binw\\winserv /once /tr=$(%watcom)\\binw\\rsi.trp $&\n", ON
    CSwitch 0, dr2eo, "", "$(%watcom)\\binw\\vdmserv /once /tr=$(%watcom)\\binw\\rsi.trp $&\n", ON
    CSwitch 0, dw2eo, "", "$(%watcom)\\binw\\vdmserv /once /tr=$(%watcom)\\binw\\cw.trp $&\n", ON
    CSwitch 0, dp2eo, "", "$(%watcom)\\binw\\vdmserv /once /tr=$(%watcom)\\binw\\pls.trp $&\n", ON
    CSwitch 0, dt2eo, "", "$(%watcom)\\binw\\vdmserv /once /tr=$(%watcom)\\binw\\pls.trp $&\n", ON
    CSwitch 0, da2eo, "", "$(%watcom)\\binw\\vdmserv /once /tr=$(%watcom)\\binw\\rsi.trp $&\n", ON
    CSwitch 0, db2eo, "", "$(%watcom)\\binw\\vdmserv /once /tr=$(%watcom)\\binw\\rsi.trp $&\n", ON
    CSwitch 0, dm2eo, "", "$(%watcom)\\binw\\vdmserv /once /tr=$(%watcom)\\binw\\rsi.trp $&\n", ON
    CSwitch 0, d?6eo, "", "$(%watcom)\\binw\\vdmserv /once /tr=$(%watcom)\\binw\\std.trp $&\n", ON
:segment !C_FOR_PB
    RGroup "Debugger"
        RSwitch 0, w???o, "Windowed", "!Fullscreen $(%watcom)\\binw\\wdw", ON
        RSwitch 0, w???n, "Windowed", $(%watcom)\binnt\wdw, ON
        RSwitch 0, w???a, "Windowed", $(%watcom)\axpnt\wdw, ON
        RSwitch 0, w???w, "Windowed", $(%watcom)\binw\wdw, ON
        RSwitch 0, w???j, "Windowed", $(%watcom)\binw\wdw, ON
        RSwitch 0, w???8, "Windowed", $(%watcom)\binw\wdw, ON
        RSwitch 0, w???s, "Windowed", $(%watcom)\binw\wdw, ON
        RSwitch 0, n????, "Windowed", $(%watcom)\binnt\wdw, ON
        RSwitch 0, w???n, "Character mode", "!Fullscreen $(%watcom)\\binnt\\wd.exe", OFF
        RSwitch 0, w???a, "Character mode", "!Fullscreen $(%watcom)\\axpnt\\wd.exe", OFF
        RSwitch 0, w???8, "Character mode", "!Fullscreen $(%watcom)\\n98bw\\wdc.exe", OFF
        RSwitch 0, w???w, "Character mode", "!Fullscreen $(%watcom)\\binw\\wdc.exe", OFF
        RSwitch 0, w???j, "Character mode", "!Fullscreen $(%watcom)\\binw\\wdc.exe", OFF
        RSwitch 0, w???o, "Character mode", "!Fullscreen $(%watcom)\\binw\\wdc.exe", OFF
        RSwitch 0, w???s, "Character mode", "!Fullscreen $(%watcom)\\binw\\wdc.exe", OFF
        RSwitch 0, n????, "Character mode", $(%watcom)\binnt\wd, OFF
        RSwitch 0, o????, "PM", $(%watcom)\binp\wdw, ON
        RSwitch 0, o????, "Character mode", "!Fullscreen $(%watcom)\\binp\\wd", OFF
:endsegment
    CSwitch 0, dr2ew, " Run", "$(%watcom)\\binw\\wd.pif", ON
    CSwitch 0, dw2ew, " Run", "$(%watcom)\\binw\\wd.pif", ON
    CSwitch 0, dp2ew, " Run", "$(%watcom)\\binw\\wd.pif", ON
    CSwitch 0, dt2ew, " Run", "$(%watcom)\\binw\\wd.pif", ON
    CSwitch 0, da2ew, " Run", "$(%watcom)\\binw\\wd.pif", ON
    CSwitch 0, db2ew, " Run", "$(%watcom)\\binw\\wd.pif", ON
    CSwitch 0, dm2ew, " Run", "$(%watcom)\\binw\\wd.pif", ON
    CSwitch 0, dr2ej, " Run", "$(%watcom)\\binw\\wdj.pif", ON
    CSwitch 0, dw2ej, " Run", "$(%watcom)\\binw\\wdj.pif", ON
    CSwitch 0, dp2ej, " Run", "$(%watcom)\\binw\\wdj.pif", ON
    CSwitch 0, dt2ej, " Run", "$(%watcom)\\binw\\wdj.pif", ON
    CSwitch 0, da2ej, " Run", "$(%watcom)\\binw\\wdj.pif", ON
    CSwitch 0, db2ej, " Run", "$(%watcom)\\binw\\wdj.pif", ON
    CSwitch 0, dm2ej, " Run", "$(%watcom)\\binw\\wdj.pif", ON
    CSwitch 0, dr2e8, " Run", "$(%watcom)\\n98bw\\wd.pif", ON
    CSwitch 0, dw2e8, " Run", "$(%watcom)\\n98bw\\wd.pif", ON
    CSwitch 0, dp2e8, " Run", "$(%watcom)\\n98bw\\wd.pif", ON
    CSwitch 0, dt2e8, " Run", "$(%watcom)\\n98bw\\wd.pif", ON
    CSwitch 0, da2e8, " Run", "$(%watcom)\\n98bw\\wd.pif", ON
    CSwitch 0, db2e8, " Run", "$(%watcom)\\n98bw\\wd.pif", ON
    CSwitch 0, dm2e8, " Run", "$(%watcom)\\n98bw\\wd.pif", ON
    CSwitch 0, d???o, " Run", "$(%watcom)\\binp\\wd", ON
    CSwitch 0, d???n, " Run", "$(%watcom)\\binnt\\wdw", ON
    CSwitch 0, d???a, " Run", "$(%watcom)\\axpnt\\wdw", ON
rem binw\wd is used because wdw doesn't load trap files
    CSwitch 0, d???9, " Run", "$(%watcom)\\binw\\wd", ON
    CSwitch 0, d???8, " Run", "$(%watcom)\\n98bw\\wd", ON
    CSwitch 0, d???j, " Run", "$(%watcom)\\binw\\wdj.pif", ON
    CSwitch 0, d????, " Run", "$(%watcom)\\binw\\wd", ON
    CSwitch 0, w???9, "", $(%watcom)\binw\wdw, ON
    CSwitch 0, wp6d8, " Run", "!Fullscreen $(%watcom)\\n98bw\\wdc.exe", ON
    CSwitch 0, wp6d?, " Run", "!Fullscreen $(%watcom)\\binw\\wdc.exe", ON
    CSwitch 0, np2d?, " Run", "$(%watcom)\\binnt\\wdw /powerbuilder /tr=std;2", ON
    CSwitch 0, l???w, " Run", "$(%watcom)\\binw\\wdw", ON
    CSwitch 0, l???j, " Run", "$(%watcom)\\binw\\wdw", ON
    CSwitch 0, l???8, " Run", "$(%watcom)\\n98bw\\wdw", ON
    CSwitch 0, l????, " Run", wdw, ON
::
:segment !C_FOR_PB
::
    VSwitch 1, dr2ew, "Trap file:", /tr, =, ONE, REQ, "win"
    VSwitch 1, dw2ew, "Trap file:", /tr, =, ONE, REQ, "win"
    VSwitch 1, dp2ew, "Trap file:", /tr, =, ONE, REQ, "win"
    VSwitch 1, dt2ew, "Trap file:", /tr, =, ONE, REQ, "win"
    VSwitch 1, da2ew, "Trap file:", /tr, =, ONE, REQ, "win"
    VSwitch 1, db2ew, "Trap file:", /tr, =, ONE, REQ, "win"
    VSwitch 1, dm2ew, "Trap file:", /tr, =, ONE, REQ, "win"
    VSwitch 1, dr2ej, "Trap file:", /tr, =, ONE, REQ, "win"
    VSwitch 1, dw2ej, "Trap file:", /tr, =, ONE, REQ, "win"
    VSwitch 1, dp2ej, "Trap file:", /tr, =, ONE, REQ, "win"
    VSwitch 1, dt2ew, "Trap file:", /tr, =, ONE, REQ, "win"
    VSwitch 1, da2ew, "Trap file:", /tr, =, ONE, REQ, "win"
    VSwitch 1, db2ew, "Trap file:", /tr, =, ONE, REQ, "win"
    VSwitch 1, dm2ew, "Trap file:", /tr, =, ONE, REQ, "win"
    VSwitch 1, dr2e8, "Trap file:", /tr, =, ONE, REQ, "win"
    VSwitch 1, dw2e8, "Trap file:", /tr, =, ONE, REQ, "win"
    VSwitch 1, dp2e8, "Trap file:", /tr, =, ONE, REQ, "win"
    VSwitch 1, dt2e8, "Trap file:", /tr, =, ONE, REQ, "win"
    VSwitch 1, da2e8, "Trap file:", /tr, =, ONE, REQ, "win"
    VSwitch 1, db2e8, "Trap file:", /tr, =, ONE, REQ, "win"
    VSwitch 1, dm2e8, "Trap file:", /tr, =, ONE, REQ, "win"
    VSwitch 1, dr2e9, "Trap file:", /tr, =, ONE, REQ, "win;$&"
    VSwitch 1, dw2e9, "Trap file:", /tr, =, ONE, REQ, "win;$&"
    VSwitch 1, dp2e9, "Trap file:", /tr, =, ONE, REQ, "win;$&"
    VSwitch 1, dt2e9, "Trap file:", /tr, =, ONE, REQ, "win;$&"
    VSwitch 1, da2e9, "Trap file:", /tr, =, ONE, REQ, "win;$&"

⌨️ 快捷键说明

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