| 225 | } |
| 226 | |
| 227 | void PassThroughCompiler() { |
| 228 | if (debug) |
| 229 | PrintLn(S("Pass through: ")-> |
| 230 | add(StrJoin(Args->clone()->add(ExtraArgs), S(" ")))); |
| 231 | if (ArgC <= 1) { |
| 232 | Error("no arguments"); |
| 233 | } |
| 234 | Compiler = new Str(ArgV[1]); |
| 235 | StrArr *args = new StrArr(ArgC); |
| 236 | for (int i = 2; i < ArgC; i++) { |
| 237 | args->add(S(ArgV[i])); |
| 238 | } |
| 239 | args->add(ExtraArgs); |
| 240 | int exitcode = System(Compiler, args); |
| 241 | exit(exitcode); |
| 242 | } |
| 243 | |
| 244 | void ExecCompiler() { |
| 245 | int exitcode; |