summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmake/gluegen-cpptasks.xml28
-rw-r--r--make/lib/CppTasksGCCNamespaceHack.jarbin0 -> 7810 bytes
-rw-r--r--[-rwxr-xr-x]make/lib/cpptasks.jarbin345356 -> 363963 bytes
3 files changed, 25 insertions, 3 deletions
diff --git a/make/gluegen-cpptasks.xml b/make/gluegen-cpptasks.xml
index 3640052..d293843 100755
--- a/make/gluegen-cpptasks.xml
+++ b/make/gluegen-cpptasks.xml
@@ -127,7 +127,7 @@
<import file="gluegen-properties.xml" />
<!-- import cpptasks -->
- <typedef resource="net/sf/antcontrib/cpptasks/antlib.xml" classpath="${gluegen.root}/make/lib/cpptasks.jar"/>
+ <typedef resource="net/sf/antcontrib/cpptasks/antlib.xml" classpath="${gluegen.root}/make/lib/cpptasks.jar;${gluegen.root}/make/lib/CppTasksGCCNamespaceHack.jar"/>
<condition property="gluegen.user.compiler.file"
value="${user.home}/gluegen.compiler.xml">
@@ -495,6 +495,16 @@
<compilerarg value="-m64"/>
</compiler>
+ <compiler id="compiler.cfg.linux64.mingw64" classname="net.sf.antcontrib.cpptasks.gcc.Gcc64CCompiler">
+ <compilerarg value="-fPIC"/>
+ <compilerarg value="-m64"/>
+ </compiler>
+
+ <compiler id="compiler.cfg.linux64.mingw32" classname="net.sf.antcontrib.cpptasks.gcc.Gcc32CCompiler">
+ <compilerarg value="-m32"/>
+ </compiler>
+
+<!--
<compiler id="compiler.cfg.solaris" name="suncc">
<defineset>
<define name="SOLARIS" />
@@ -509,16 +519,20 @@
<define name="SOLARIS" />
</defineset>
</compiler>
-
+-->
+<!--
<compiler id="compiler.cfg.solaris.amd64" name="suncc">
<compilerarg value="-fast" />
<compilerarg value="-xchip=opteron" />
<compilerarg value="-xarch=amd64" />
+ -->
<!-- <compilerarg value="-xcache=64/64/2:1024/64/16" /> -->
+<!--
<defineset>
<define name="SOLARIS" />
</defineset>
</compiler>
+ -->
<compiler id="compiler.cfg.win32.mingw" name="gcc">
<compilerarg value="-g" if="c.compiler.use-debug"/>
@@ -619,6 +633,14 @@
<linkerarg value="-m64"/>
</linker>
+ <linker id="linker.cfg.linux64.mingw64" classname="net.sf.antcontrib.cpptasks.gcc.Gcc64Linker">
+ <linkerarg value="-m64"/>
+ </linker>
+
+ <linker id="linker.cfg.linux64.mingw32" classname="net.sf.antcontrib.cpptasks.gcc.Gcc32Linker">
+ <linkerarg value="-m32"/>
+ </linker>
+<!--
<linker id="linker.cfg.solaris" name="suncc">
</linker>
@@ -629,7 +651,7 @@
<linker id="linker.cfg.solaris.amd64" name="suncc">
<linkerarg value="-xarch=amd64" />
</linker>
-
+-->
<linker id="linker.cfg.win32.mingw" name="gcc" incremental="false">
<linkerarg value="-Wl,--kill-at" /> <!-- remove @ from function names -->
</linker>
diff --git a/make/lib/CppTasksGCCNamespaceHack.jar b/make/lib/CppTasksGCCNamespaceHack.jar
new file mode 100644
index 0000000..c31779e
--- /dev/null
+++ b/make/lib/CppTasksGCCNamespaceHack.jar
Binary files differ
diff --git a/make/lib/cpptasks.jar b/make/lib/cpptasks.jar
index 005691c..dec6c13 100755..100644
--- a/make/lib/cpptasks.jar
+++ b/make/lib/cpptasks.jar
Binary files differ