aboutsummaryrefslogtreecommitdiffstats
path: root/src/native
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2015-09-19 05:56:29 +0200
committerSven Gothel <[email protected]>2015-09-19 05:56:29 +0200
commit0ebc5398fa20d23214a37dc4930a1fa1617293c7 (patch)
tree7e0289eb3587be6ae6d8f203df5dbf543bb0c056 /src/native
parent7187046a1ddac65aec195de935df1d5bc9d8e67c (diff)
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.
Diffstat (limited to 'src/native')
-rwxr-xr-xsrc/native/tinype/make.bat1
-rw-r--r--src/native/tinype/tiny.c4
-rwxr-xr-xsrc/native/tinype/tiny.exebin0 -> 2048 bytes
-rwxr-xr-xsrc/native/tinype/tiny.exe.gzbin0 -> 305 bytes
4 files changed, 5 insertions, 0 deletions
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
--- /dev/null
+++ b/src/native/tinype/tiny.exe
Binary files differ
diff --git a/src/native/tinype/tiny.exe.gz b/src/native/tinype/tiny.exe.gz
new file mode 100755
index 0000000..1444ae6
--- /dev/null
+++ b/src/native/tinype/tiny.exe.gz
Binary files differ