diff dmd/mars.c @ 306:0baca2feb554 trunk

[svn r327] Fixed some more MinGW32 issues. It's now very close to working. Fixed problems with inline asm like: mov EAX, FS:4 , which incidentally is used in the runtime to get the stack bottom, on Windows.
author lindquist
date Fri, 27 Jun 2008 23:58:22 +0200
parents 297690b5d4a5
children 0d52412d5b1a
line wrap: on
line diff
--- a/dmd/mars.c	Fri Jun 27 22:04:35 2008 +0200
+++ b/dmd/mars.c	Fri Jun 27 23:58:22 2008 +0200
@@ -1066,7 +1066,7 @@
     {
 	if (global.params.link)
 	    //status = runLINK();
-        linkExecutable();
+        linkExecutable(argv[0]);
 
 	if (global.params.run)
 	{