Unified · Split
| @@ -241,10 +241,10 @@ static void exec_other_tcc(TCCState *s, int argc, · 240 unmodified lines | |||
| 241 | char *parent,*child_tcc; | 241 | char *parent,*child_tcc; |
| 242 | int opt = atoi(optarg); | 242 | int opt = atoi(optarg); |
| 243 | if (strlen(argv[0]) > 4000) | 243 | if (strlen(argv[0]) > 4000) |
| 244 | error("-m32/64 unsafe path length"); | 244 | error("-m%i unsafe path length", ARG); |
| 245 | switch (opt) { | 245 | switch (opt) { |
| 246 | case ARG + 1: /* oops we called ourselves */ | 246 | case ARG + 1: /* oops we called ourselves */ |
| 247 | error("-m32/64 cross compiler not installed"); | 247 | error("-m%i cross compiler not installed", ARG); |
| 248 | break; | 248 | break; |
| 249 | case ARG: | 249 | case ARG: |
| 250 | { | 250 | { |
| @@ -262,8 +262,8 @@ static void exec_other_tcc(TCCState *s, int argc, · 11 unmodified lines | |||
| 262 | execvp(child_path, CAST argv); | 262 | execvp(child_path, CAST argv); |
| 263 | sprintf(child_tcc,"tcc%s",tcc_fileextension(parent)); | 263 | sprintf(child_tcc,"tcc%s",tcc_fileextension(parent)); |
| 264 | execvp(child_path, CAST argv); | 264 | execvp(child_path, CAST argv); |
| 265 | error("-m32/64 cross compiler not found"); | 265 | error("-m%i cross compiler not found", ARG); |
| 266 | } else error("-m32/65 unsupported configuration"); | 266 | } else error("-m%i unsupported configuration", ARG); |
| 267 | } | 267 | } |
| 268 | case 96 ^ ARG : break; | 268 | case 96 ^ ARG : break; |
| 269 | case 96 ^ (ARG + 1): break; | 269 | case 96 ^ (ARG + 1): break; |