> 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:
@ -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 ++;
|
||||
|
Reference in New Issue
Block a user