From 8e7d075002dba3f5d5971f9c31358f074934c624 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sun, 16 May 2010 03:56:45 +0200 Subject: GlueGen/JOGL Windows x86 x86_64 Builds x86: Using mingw 20100514, gcc 4.5.0 - clean - passed all junit.run tests x86_64: Using mingw-w64-bin_x86_64-mingw_20100515_sezero.zip, gcc 4.4.5 20100513 - clean - passed most junit.run tests, still buggy --- make/build.xml | 10 ++++- make/gluegen-cpptasks-base.xml | 69 +++++++++++++++++++++++++++------ make/gluegen-properties.xml | 18 ++++++++- make/gluegen.properties | 5 ++- make/scripts/make.gluegen.all.win32.bat | 4 +- make/scripts/make.gluegen.all.win64.bat | 17 ++++++++ 6 files changed, 104 insertions(+), 19 deletions(-) create mode 100644 make/scripts/make.gluegen.all.win64.bat (limited to 'make') diff --git a/make/build.xml b/make/build.xml index 722e601..193c353 100755 --- a/make/build.xml +++ b/make/build.xml @@ -214,13 +214,19 @@ - + - + + + + + + + diff --git a/make/gluegen-cpptasks-base.xml b/make/gluegen-cpptasks-base.xml index 4f88a15..c470a33 100755 --- a/make/gluegen-cpptasks-base.xml +++ b/make/gluegen-cpptasks-base.xml @@ -76,7 +76,8 @@ - isVC8_X64 - isVC8Family (= isVC8 || isVC8_X64 || isVC9) (requires manifest in DLL) - isVC9 - - isMingW + - isMingW32 (isMingW) + - isMingW64 (isMingW) - - The gluegen.cpptasks.configure.compiler target initializes several - cpptasks compiler and linker configurations designed to support @@ -93,6 +94,7 @@ - compiler.cfg.solaris - compiler.cfg.solaris.sparcv9 - compiler.cfg.solaris.amd64 + - compiler.cfg.win64.mingw - compiler.cfg.win32.mingw - compiler.cfg.win32.msvc - compiler.cfg.macosx @@ -103,6 +105,7 @@ - linker.cfg.solaris - linker.cfg.solaris.sparcv9 - linker.cfg.solaris.amd64 + - linker.cfg.win64.mingw - linker.cfg.win32.mingw - linker.cfg.win32.msvc - linker.cfg.macosx @@ -394,7 +397,10 @@ - + + + + @@ -435,12 +441,24 @@ - + + + + + + + - + + + + + + + @@ -449,7 +467,8 @@ - + + @@ -459,6 +478,8 @@ + + @@ -557,12 +578,27 @@ - - - - + + + + + + + + + + + + + + + + + + + @@ -673,6 +709,11 @@ + + + + + @@ -732,13 +773,19 @@ - + - + + + + + + + diff --git a/make/gluegen-properties.xml b/make/gluegen-properties.xml index a7c6315..949eadf 100755 --- a/make/gluegen-properties.xml +++ b/make/gluegen-properties.xml @@ -7,7 +7,7 @@ - externally: - - win32.c.compiler (required to be set on Windows): - - one of "vc6", "vc7", "vc8", or "mingw". + - one of "vc6", "vc7", "vc8", "mingw32" (default) or "mingw64". - c.compiler.debug: - set to "true" if debug version of the compiled - C code is desired. @@ -41,7 +41,21 @@ - + + + + + + + + + + + + + + + diff --git a/make/gluegen.properties b/make/gluegen.properties index 69602a5..03aec9c 100755 --- a/make/gluegen.properties +++ b/make/gluegen.properties @@ -26,8 +26,9 @@ # on Windows and have the Microsoft Visual C++ compilers installed, # you can choose an alternate compiler with which to build the native # code. Valid strings for MS compiler are "vc6", "vc7", "vc8", "vc8_x64", "vc9". -# Otherwise MinGW is used, hence the default value "mingw". -# win32.c.compiler=mingw +# Valid strings for GCC are "mingw32", "mingw64". +# MinGW is used per default, hence the default value "mingw32". +# win32.c.compiler=mingw32 # MacOsX libraries can be universal / fat binaries. # The following switches enables/disables a target platform. diff --git a/make/scripts/make.gluegen.all.win32.bat b/make/scripts/make.gluegen.all.win32.bat index b8eb656..2bb7630 100644 --- a/make/scripts/make.gluegen.all.win32.bat +++ b/make/scripts/make.gluegen.all.win32.bat @@ -1,7 +1,7 @@ set THISDIR="C:\JOGL" -set J2RE_HOME=c:\jre1.6.0_19 -set JAVA_HOME=c:\jdk1.6.0_19 +set J2RE_HOME=c:\jre1.6.0_20_x32 +set JAVA_HOME=c:\jdk1.6.0_20_x32 set ANT_PATH=C:\apache-ant-1.8.0 set PATH=%JAVA_HOME%\bin;%ANT_PATH%\bin;c:\mingw\bin;%PATH% diff --git a/make/scripts/make.gluegen.all.win64.bat b/make/scripts/make.gluegen.all.win64.bat new file mode 100644 index 0000000..aeda5b0 --- /dev/null +++ b/make/scripts/make.gluegen.all.win64.bat @@ -0,0 +1,17 @@ +set THISDIR="C:\JOGL" + +set J2RE_HOME=c:\jre1.6.0_20_x64 +set JAVA_HOME=c:\jdk1.6.0_20_x64 +set ANT_PATH=C:\apache-ant-1.8.0 + +set PATH=%JAVA_HOME%\bin;%ANT_PATH%\bin;c:\mingw64\bin;c:\mingw\bin;%PATH% + +set LIB_GEN=%THISDIR%\lib +set CLASSPATH=.;%THISDIR%\build-win64\classes +REM -Dc.compiler.debug=true +REM -DuseOpenMAX=true +REM -DuseKD=true +REM -Djogl.cg=1 -D-Dwindows.cg.lib=C:\Cg-2.2 + +ant -Drootrel.build=build-win64 %1 %2 %3 %4 %5 %6 %7 %8 %9 > make.gluegen.all.win64.log 2>&1 + -- cgit v1.2.3