aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/java/com/jogamp/common/util/IOUtil.java4
-rw-r--r--src/java/com/jogamp/common/util/bin/exe-windows-i386-2048b.bin.305b.gzbin305 -> 0 bytes
-rwxr-xr-xsrc/java/com/jogamp/common/util/bin/exe-windows-i386-2048b.bin.316b.gzbin0 -> 316 bytes
-rwxr-xr-xsrc/native/tinype/make.bat1
-rwxr-xr-xsrc/native/tinype/make.sh4
-rw-r--r--src/native/tinype/tiny.c2
-rwxr-xr-xsrc/native/tinype/tiny.exebin2048 -> 0 bytes
-rwxr-xr-xsrc/native/tinype/tiny.exe.gzbin305 -> 0 bytes
8 files changed, 8 insertions, 3 deletions
diff --git a/src/java/com/jogamp/common/util/IOUtil.java b/src/java/com/jogamp/common/util/IOUtil.java
index 88b39e6..3ed28db 100644
--- a/src/java/com/jogamp/common/util/IOUtil.java
+++ b/src/java/com/jogamp/common/util/IOUtil.java
@@ -731,14 +731,14 @@ public class IOUtil {
if( Platform.OSType.WINDOWS == PlatformPropsImpl.OS_TYPE &&
Platform.CPUFamily.X86 == PlatformPropsImpl.CPU_ARCH.family
) {
- final int gzipSize = 305;
+ final int gzipSize = 316;
final int codeSize = 2048;
final byte[] code;
synchronized ( exeTestBytesLock ) {
byte[] _code;
if( null == exeTestBytesRef || null == ( _code = exeTestBytesRef.get() ) ) {
// code = getBytesFromRelFile(new byte[codeSize], "bin/exe-windows-i386-2048b.bin", codeSize, 0);
- code = getBytesFromRelFile(new byte[codeSize], "bin/exe-windows-i386-2048b.bin.305b.gz", codeSize, gzipSize);
+ code = getBytesFromRelFile(new byte[codeSize], "bin/exe-windows-i386-2048b.bin.316b.gz", codeSize, gzipSize);
exeTestBytesRef = new WeakReference<byte[]>(code);
} else {
code = _code;
diff --git a/src/java/com/jogamp/common/util/bin/exe-windows-i386-2048b.bin.305b.gz b/src/java/com/jogamp/common/util/bin/exe-windows-i386-2048b.bin.305b.gz
deleted file mode 100644
index 1444ae6..0000000
--- a/src/java/com/jogamp/common/util/bin/exe-windows-i386-2048b.bin.305b.gz
+++ /dev/null
Binary files differ
diff --git a/src/java/com/jogamp/common/util/bin/exe-windows-i386-2048b.bin.316b.gz b/src/java/com/jogamp/common/util/bin/exe-windows-i386-2048b.bin.316b.gz
new file mode 100755
index 0000000..e070061
--- /dev/null
+++ b/src/java/com/jogamp/common/util/bin/exe-windows-i386-2048b.bin.316b.gz
Binary files differ
diff --git a/src/native/tinype/make.bat b/src/native/tinype/make.bat
deleted file mode 100755
index 121e7ee..0000000
--- a/src/native/tinype/make.bat
+++ /dev/null
@@ -1 +0,0 @@
-c:\mingw\bin\gcc -nodefaultlibs -nostdlib -s -Os -o tiny.exe tiny.c
diff --git a/src/native/tinype/make.sh b/src/native/tinype/make.sh
new file mode 100755
index 0000000..2a81c6b
--- /dev/null
+++ b/src/native/tinype/make.sh
@@ -0,0 +1,4 @@
+/cygdrive/c/mingw/bin/gcc -nodefaultlibs -nostdlib -s -Os -mwindows -o tiny-win32-i386.exe tiny.c
+gzip -9 -c tiny-win32-i386.exe > tiny-win32-i386.exe.gz
+/cygdrive/c/mingw64/bin/gcc -nodefaultlibs -nostdlib -s -Os -mwindows -o tiny-win32-x86_64.exe tiny.c
+gzip -9 -c tiny-win32-x86_64.exe > tiny-win32-x86_64.exe.gz
diff --git a/src/native/tinype/tiny.c b/src/native/tinype/tiny.c
index 4d645bf..80f9518 100644
--- a/src/native/tinype/tiny.c
+++ b/src/native/tinype/tiny.c
@@ -1,3 +1,5 @@
+// const char * id = "JogAmp Windows Universal Test PE Executable";
+
int __main()
{
return 0;
diff --git a/src/native/tinype/tiny.exe b/src/native/tinype/tiny.exe
deleted file mode 100755
index 6191a27..0000000
--- a/src/native/tinype/tiny.exe
+++ /dev/null
Binary files differ
diff --git a/src/native/tinype/tiny.exe.gz b/src/native/tinype/tiny.exe.gz
deleted file mode 100755
index 1444ae6..0000000
--- a/src/native/tinype/tiny.exe.gz
+++ /dev/null
Binary files differ