> compile NEMU

ysyx_22040000 李心杨
Linux calcite 6.6.19 #1-NixOS SMP PREEMPT_DYNAMIC Fri Mar  1 12:35:11 UTC 2024 x86_64 GNU/Linux
 01:55:00  up  15:31,  2 users,  load average: 0.30, 0.37, 0.41
This commit is contained in:
tracer-ysyx 2024-03-14 01:55:00 +08:00 committed by xinyangli
parent 2f1f38a359
commit 26f668141f

View file

@ -73,8 +73,8 @@ static int parse_args(int argc, char *argv[]) {
{"log" , required_argument, NULL, 'l'},
{"diff" , required_argument, NULL, 'd'},
{"port" , required_argument, NULL, 'p'},
{"help" , no_argument , NULL, 'h'},
{"elf" , required_argument, NULL, 'f'},
{"help" , no_argument , NULL, 'h'},
{0 , 0 , NULL, 0 },
};
int o;
@ -92,7 +92,7 @@ static int parse_args(int argc, char *argv[]) {
printf("\t-l,--log=FILE output log to FILE\n");
printf("\t-d,--diff=REF_SO run DiffTest with reference REF_SO\n");
printf("\t-p,--port=PORT run DiffTest with port PORT\n");
printf("\t-f,--elf=PORT elf file with debug info\n");
printf("\t-f,--elf=FILE elf file with debug info\n");
printf("\n");
exit(0);
}