📄 compile.txt
字号:
How to compile the tools:First build the utility files used by the tools.g++ -Wall -O3 -o fileutil.o -c fileutil.cppg++ -Wall -O3 -o strutil.o -c strutil.cppArchitecture detector:gcc -Wall -O3 -o archopt.exe archopt.cCut Redundant ASM Typecasts:g++ -Wall -O3 -o cutrtype.exe cutrtype.cpp fileutil.o strutil.oDependency Builder:g++ -Wall -O3 -o depbuild.exe depbuild.cpp fileutil.o strutil.oExtra EXTSYMs:g++ -Wall -O3 -o extraext.exe extraext.cpp fileutil.o strutil.oMinimize Whitespace:g++ -Wall -O3 -o minwhite.exe minwhite.cpp fileutil.oNach's Replacer:g++ -Wall -O3 -o nreplace.exe nreplace.cpp fileutil.oSection Tester:g++ -Wall -O3 -o sec-test.exe sec-test.cpp fileutil.o strutil.oSource Counter:g++ -Wall -O3 -o srccount.exe srccount.cpp fileutil.oMacro Unroller:g++ -Wall -O3 -o macroll.exe macroll.cpp fileutil.o strutil.oVariable Replacer:g++ -Wall -O3 -o varrep.exe varrep.cpp fileutil.o strutil.oAll the tools scan every compatible file they find from the directory they arein. It also scans all sub directories recursively.Extra EXTSYMs accepts command line arguments. You can specify filenames to puton the can't be opened ignore list.Nach's Replacer accept parameters for various files, and -r for recursivedirectory support.Dependency Builder requires parameters for CC, CFLAGS, NASM, NASM_FLAGS.Example: depbuild gcc "-I/usr/include -D__UNIXSDL__ -O3 -march=athlon64" nasm "-D__UNIXSDL__ -f elf -DELF -D__OPENGL__ -O1"Macro Unroller has the macro as parameter passed to it.Example: macroll DiffOrNot w4,w2,PIXEL00_0,PIXEL00_100Variable Replacer requires parameters for variable file, variable prefixand suffix. It can also optionally take a file list. Variable file shouldcontain each variable on a line by itself.Example: varrep vf.txt "DSP4_vars." "" chips/dsp4emu.c
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -