diff options
author | Sven Gothel <[email protected]> | 2010-03-25 13:07:58 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2010-03-25 13:07:58 +0100 |
commit | 3a32650d4229f9b4ad1f527d9e30c24ddb69bb3f (patch) | |
tree | b60ea7924b346924b754be03e5467fc62a7dbe1e /make/lib/gluegen.compiler.linux-32bit.xml | |
parent | e6288285daf2e2fc16980cd74190e46aad5464be (diff) |
http://www.jogamp.org/bugzilla/show_bug.cgi?id=390
The current junit tests use a fixed 'build' sub-path,
not the customizing 'rootrel.build' path.
More properties needs to be passed through (ant -> junit -> ant)
to comply with the current build system:
* rootrel.build
* os.arch
* gluegen.user.compiler.file
Fixed ..
However .. since even more properties may influence the build,
a more native solution with just plain 'ant' might be more desireable ..
Diffstat (limited to 'make/lib/gluegen.compiler.linux-32bit.xml')
-rw-r--r-- | make/lib/gluegen.compiler.linux-32bit.xml | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/make/lib/gluegen.compiler.linux-32bit.xml b/make/lib/gluegen.compiler.linux-32bit.xml new file mode 100644 index 0000000..ce1554c --- /dev/null +++ b/make/lib/gluegen.compiler.linux-32bit.xml @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + This is an example of how to add custom compiler/linker + arguments for a crosscompiler. + + You can use such files with setting the property 'gluegen.user.compiler.file', ie: + + -Dgluegen.user.compiler.file=`pwd`/lib/gluegen.compiler.xml + + or by having such file in your home directory, ie: + + ~/gluegen.compiler.xml + + In case you want to compile for 32bit on a 64bit machine, + you might also need to set the 'os.arch' to 'x86'. + Example: gluegen/make/make.gluegen.all.linux-x86.sh + + More properties need to be overwritten in case you like to change the + target OS .. and/or components, see gluegen-cpptasks.xml for more information. + --> + +<project name="GlueGen-cpptasks" basedir="." > + +<target name="gluegen.cpptasks.configure.compiler" depends="setup.java.home.dir"> + <compiler id="compiler.cfg.linux" name="gcc"> + <compilerarg value="-m32" /> + <compilerarg value="-Wall" /> + <defineset> + <define name="LINUX" /> + </defineset> + </compiler> + + <linker id="linker.cfg.linux" name="gcc"> + <linkerarg value="-m32" /> + </linker> +</target> +</project> |