From 0ebc5398fa20d23214a37dc4930a1fa1617293c7 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sat, 19 Sep 2015 05:56:29 +0200 Subject: Bug 1219: Sporadic failure to determine 'executable temp base directory' on Windows using 'exe-windows-i586-268b.bin' (Fix attempt #1) Replacing the tiny 268 byte sized 'exe-windows-i586-268b.bin' PE file w/ a regular 2048 byte sized PE file 'exe-windows-i386-2048b.bin'. File is produced via: c:\mingw\bin\gcc -nodefaultlibs -nostdlib -s -Os -o tiny.exe tiny.c Adding the 305 byte sized gzipped version 'exe-windows-i386-2048b.bin.305b.gz' to the gluegen-rt jar file to reduce the payload for non Windows platforms. Adding special property 'jogamp.debug.IOUtil.Exe' to debug testing the exe file, enable via '-Djogamp.debug.IOUtil.Exe'. Passes here on all Windows machines, however, the prev. one worked here as well. --- src/native/tinype/make.bat | 1 + src/native/tinype/tiny.c | 4 ++++ src/native/tinype/tiny.exe | Bin 0 -> 2048 bytes src/native/tinype/tiny.exe.gz | Bin 0 -> 305 bytes 4 files changed, 5 insertions(+) create mode 100755 src/native/tinype/make.bat create mode 100644 src/native/tinype/tiny.c create mode 100755 src/native/tinype/tiny.exe create mode 100755 src/native/tinype/tiny.exe.gz (limited to 'src/native/tinype') diff --git a/src/native/tinype/make.bat b/src/native/tinype/make.bat new file mode 100755 index 0000000..121e7ee --- /dev/null +++ b/src/native/tinype/make.bat @@ -0,0 +1 @@ +c:\mingw\bin\gcc -nodefaultlibs -nostdlib -s -Os -o tiny.exe tiny.c diff --git a/src/native/tinype/tiny.c b/src/native/tinype/tiny.c new file mode 100644 index 0000000..4d645bf --- /dev/null +++ b/src/native/tinype/tiny.c @@ -0,0 +1,4 @@ +int __main() +{ + return 0; +} diff --git a/src/native/tinype/tiny.exe b/src/native/tinype/tiny.exe new file mode 100755 index 0000000..6191a27 Binary files /dev/null and b/src/native/tinype/tiny.exe differ diff --git a/src/native/tinype/tiny.exe.gz b/src/native/tinype/tiny.exe.gz new file mode 100755 index 0000000..1444ae6 Binary files /dev/null and b/src/native/tinype/tiny.exe.gz differ -- cgit v1.2.3