hints

来自「harvest是一个下载html网页得机器人」· 代码 · 共 58 行

TXT
58
字号
Hints for compiling on various platforms-------------------------------------------------------------------------------UNIX with gccgcc -v -ansi -funsigned-char -DUNIX -DWP2X_DIR=\"/usr/local/lib/wp2x\"    -o wp2x wp2x.c-------------------------------------------------------------------------------Amiga, courtesy of Dale Gold (dgold@basso.actrix.gen.nz)# Makefile for SAS 5.10 on the Amiga.## -b0   No base relative addressing# -cu   All char unsigned# -L    Automatically link# -DNO_CONST compiler does not support `const' qualifierwp2x:   wp2x.c lmkfile    lc -b0 -cu -L -DNO_CONST -DAMIGA wp2x.c-------------------------------------------------------------------------------IBM PC / Turbo C 2.0, suggested by Raymond Chen (raymond@math.berkeley.edu)tcc -mt -G -K -O -f- -r -Z -p -DCdecl=cdecl -DMSDOS wp2x.c                -mt = tiny model                -G  = compile for speed                -K  = unsigned characters                -O  = optimize jumps                -f- = no floating point                -r  = register variables                -Z  = optimize register usage                -p  = pascal calling convention     -DCdecl=cdecl  = for tagging variadic functionsNote, however, that setting the -O switch means that the killer switch()statement causes TC2.0 to act like it's gone out to lunch.  It hasn't;it's chugging away, albeit incredibly slowly.-------------------------------------------------------------------------------IBM PC / MSC 6.0, suggested by Raymond Chen (raymond@math.berkeley.edu)cl -AS -Gr -J -Ozax -DCdecl=_cdecl -DMSDOS wp2x.c            -AS   = small model            -Gr   = use fastcalls calling convention            -J    = unsigned chars            -Ozax = maximum optimization   -DCdecl=_cdecl = for tagging variadic functions-------------------------------------------------------------------------------IBM PC / MS C 5.1, suggested by Richard Reiner <rreiner@nexus.yorku.ca>cl -AS -Gc -J -Ox -DCdecl=cdecl -DMSDOS wp2x.c              -AS = small model              -Gc = pascal calling convention              -J  = unsigned chars              -Ox = maximum optimization    -DCdecl=cdecl = for tagging variadic functions

⌨️ 快捷键说明

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