> compile NEMU

221220000 张三
Linux zzy 5.15.146.1-microsoft-standard-WSL2 #1 SMP Thu Jan 11 04:09:03 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
 21:39:11 up 20:29,  1 user,  load average: 0.31, 0.25, 0.18
This commit is contained in:
tracer-ics2023
2024-08-31 21:39:12 +08:00
committed by zzy
parent 482913a4aa
commit 29f6df4488
3 changed files with 60 additions and 24 deletions

View File

@ -91,7 +91,7 @@ int main(int argc, char *argv[]) {
fputs(code_buf, fp);
fclose(fp);
int ret = system("gcc /tmp/.code.c -o /tmp/.expr");
int ret = system("gcc /tmp/.code.c -o /tmp/.expr -Wall -Werror");
if (ret != 0) {
printf("failed to execute gcc\n");
i ++;