Specify which GCC to use. Default is: gcc on $PATH.
--gcc-flags=FLAGS
- Specify which flags GCC to use. Default is: "-c -march=arch14".
+ Specify which flags GCC to use. Default is: "-march=arch14".
--objdump=/path/to/objdump
Specify which objdump to use. Default is: objdump on $PATH.
printf("...%u testcases generated for '%s'\n", num_tests,
opc->name);
- run_cmd("%s %s %s.c", gcc, gcc_flags, opc->name);
+ run_cmd("%s -c %s %s.c", gcc, gcc_flags, opc->name);
run_cmd("%s --disassemble=%s %s.o > %s.dump", objdump, FUNCTION,
opc->name, opc->name);
const char *gcc = "gcc"; // path to GCC
const char *objdump = "objdump"; // path to objdump
-const char *gcc_flags = "-c -march=arch14";
+const char *gcc_flags = "-march=arch14";
#define CHECK_CLO(x, s) (strncmp(x, s, sizeof s - 1) == 0)