fprintf(stderr, "cc: no extension on '%s'.\n", p);
fatal();
}
- if (strcmp(x, f)) {
- fprintf(stderr, "cc: internal got '%s' expected '%s'.\n",
- p, t);
- fatal();
- }
+// if (strcmp(x, f)) {
+// fprintf(stderr, "cc: internal got '%s' expected '%s'.\n",
+// p, t);
+// fatal();
+// }
strcpy(x, t);
if (rmif != last_phase) {
*rmptr = strdup(p);
add_argument(CRT0);
add_argument_list(NULL, &objlist);
add_argument_list(NULL, &liblist);
+ run_command();
}
void sequence(struct obj *i)
remove_temporaries();
i = i->next;
}
- if (last_phase == 3)
+ if (last_phase < 4)
return;
link_phase();
}
append_obj(&objlist, p, TYPE_S);
break;
case 'c':
- append_obj(&objlist, p, TYPE_C);
+ /* HACK should be TYPE_C once we split cpp */
+ append_obj(&objlist, p, TYPE_C_pp);
c_files++;
break;
case 'o':