}
fprintf (ofd, ":\n");
- if (emit_debug_info) {
+ if (emit_debug_info && cfg != NULL) {
MonoBasicBlock *bb;
fprintf (ofd, ".stabs \"\",100,0,0,.Ltext0\n");
#define AS_CMD "as -xarch=v9"
#elif defined(__i386__) || defined(__x86_64__)
#define AS_CMD "as -gstabs"
+#elif defined(__mips__)
+#define AS_CMD "as -mips32"
#else
#define AS_CMD "as"
#endif
system (cmd);
g_free (cmd);
+#ifndef PLATFORM_WIN32
+ unlink (o_file);
+ unlink (as_file);
+#endif
g_free (o_file);
g_free (as_file);
#endif