Default gcc toolchain config now use 'gcc' for linking. Was left accidentally to g++ since old times of wxSVG based SVGUI. Cleaned up gcc parameters when linking
authorEdouard Tisserant
Fri, 30 Sep 2011 23:41:46 +0200
changeset 621 a3ce93d63832
parent 620 f2c6bb695cf5
child 622 885a224a35be
Default gcc toolchain config now use 'gcc' for linking. Was left accidentally to g++ since old times of wxSVG based SVGUI. Cleaned up gcc parameters when linking
targets/Win32/__init__.py
targets/XSD_toolchain_gcc
--- a/targets/Win32/__init__.py	Fri Sep 30 23:06:56 2011 +0200
+++ b/targets/Win32/__init__.py	Fri Sep 30 23:41:46 2011 +0200
@@ -3,9 +3,4 @@
 class Win32_target(toolchain_gcc):
     extension = ".dll"
     def getBuilderLDFLAGS(self):
-        return toolchain_gcc.getBuilderLDFLAGS(self) + ["-shared",
-                     "-Wl,--export-all-symbols",
-                     "-Wl,--enable-auto-import",
-                     "-Wl,--whole-archive",
-                     "-Wl,--no-whole-archive",
-                     "-Wl,--exclude-libs,All"]
+        return toolchain_gcc.getBuilderLDFLAGS(self) + ["-shared"]
--- a/targets/XSD_toolchain_gcc	Fri Sep 30 23:06:56 2011 +0200
+++ b/targets/XSD_toolchain_gcc	Fri Sep 30 23:41:46 2011 +0200
@@ -1,5 +1,5 @@
 
           <xsd:attribute name="Compiler" type="xsd:string" use="optional" default="gcc"/>
           <xsd:attribute name="CFLAGS" type="xsd:string" use="required"/>
-          <xsd:attribute name="Linker" type="xsd:string" use="optional" default="g++"/>
-          <xsd:attribute name="LDFLAGS" type="xsd:string" use="required"/>
\ No newline at end of file
+          <xsd:attribute name="Linker" type="xsd:string" use="optional" default="gcc"/>
+          <xsd:attribute name="LDFLAGS" type="xsd:string" use="required"/>