summaryrefslogtreecommitdiffstats
path: root/src/native/tinype/make.sh
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2015-09-19 21:32:18 +0200
committerSven Gothel <[email protected]>2015-09-19 21:32:18 +0200
commitb17ba1462cc4bb96be52f378dedafb50a3bc13f1 (patch)
tree1383d5f998fe6d1204c1b6833579fe2be3119858 /src/native/tinype/make.sh
parent0ebc5398fa20d23214a37dc4930a1fa1617293c7 (diff)
Bug 1219: Use Win32 API for test PE exe, not console
Previous test PE exe, commit 0ebc5398fa20d23214a37dc4930a1fa1617293c7, was a console exe. A console exe opens a new console window if not being launched from one. New test PE exe is produced w/ '-mwindows', i.e. for Win32 API w/o a console.
Diffstat (limited to 'src/native/tinype/make.sh')
-rwxr-xr-xsrc/native/tinype/make.sh4
1 files changed, 4 insertions, 0 deletions
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