[ros-diffs] [chorns] 15121: Be consistent when passing --dll argument to gcc

chorns at svn.reactos.com chorns at svn.reactos.com
Sun May 8 16:30:06 CEST 2005


Be consistent when passing --dll argument to gcc
Modified:
branches/xmlbuildsystem/reactos/tools/rbuild/backend/mingw/modulehandler
.cpp
  _____  

Modified:
branches/xmlbuildsystem/reactos/tools/rbuild/backend/mingw/modulehandler
.cpp
---
branches/xmlbuildsystem/reactos/tools/rbuild/backend/mingw/modulehandler
.cpp	2005-05-08 13:45:50 UTC (rev 15120)
+++
branches/xmlbuildsystem/reactos/tools/rbuild/backend/mingw/modulehandler
.cpp	2005-05-08 14:30:04 UTC (rev 15121)
@@ -2117,7 +2117,7 @@

 
 		string dependencies = linkDepsMacro + " " +
objectsMacro;
 
-		string linkerParameters = ssprintf (
"-Wl,--subsystem,native -Wl,--entry,%s -Wl,--image-base,%s
-Wl,--file-alignment,0x1000 -Wl,--section-alignment,0x1000 -nostartfiles
-mdll -Wl,--dll",
+		string linkerParameters = ssprintf (
"-Wl,--subsystem,native -Wl,--entry,%s -Wl,--image-base,%s
-Wl,--file-alignment,0x1000 -Wl,--section-alignment,0x1000 -nostartfiles
-mdll --dll",
 
module.entrypoint.c_str (),
 
module.baseaddress.c_str () );
 		GenerateLinkerCommand ( dependencies,
@@ -2163,7 +2163,7 @@
 
 		string dependencies = linkDepsMacro + " " +
objectsMacro;
 
-		string linkerParameters = ssprintf (
"-Wl,--subsystem,native -Wl,--entry,%s -Wl,--image-base,%s
-Wl,--file-alignment,0x1000 -Wl,--section-alignment,0x1000 -nostartfiles
-nostdlib -mdll -Wl,--dll",
+		string linkerParameters = ssprintf (
"-Wl,--subsystem,native -Wl,--entry,%s -Wl,--image-base,%s
-Wl,--file-alignment,0x1000 -Wl,--section-alignment,0x1000 -nostartfiles
-nostdlib -mdll --dll",
 
module.entrypoint.c_str (),
 
module.baseaddress.c_str () );
 		GenerateLinkerCommand ( dependencies,
@@ -2285,7 +2285,7 @@
 		else
 			linker = "${gcc}";
 
-		string linkerParameters = ssprintf (
"-Wl,--subsystem,console -Wl,--entry,%s -Wl,--image-base,%s
-Wl,--file-alignment,0x1000 -Wl,--section-alignment,0x1000 -mdll
-Wl,--dll",
+		string linkerParameters = ssprintf (
"-Wl,--subsystem,console -Wl,--entry,%s -Wl,--image-base,%s
-Wl,--file-alignment,0x1000 -Wl,--section-alignment,0x1000 -mdll --dll",
 
module.entrypoint.c_str (),
 
module.baseaddress.c_str () );
 		GenerateLinkerCommand ( dependencies,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20050508/32582304/attachment.html


More information about the Ros-diffs mailing list