📄 hints
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -