diff options
Diffstat (limited to 'src/native')
-rwxr-xr-x | src/native/tinype/make.sh | 7 | ||||
-rw-r--r-- | src/native/tinype/tiny2.c | 8 |
2 files changed, 13 insertions, 2 deletions
diff --git a/src/native/tinype/make.sh b/src/native/tinype/make.sh index 2a81c6b..9a68f0d 100755 --- a/src/native/tinype/make.sh +++ b/src/native/tinype/make.sh @@ -1,4 +1,7 @@ +/cygdrive/c/mingw/bin/gcc -nodefaultlibs -nostdlib -s -Os -mwindows -o tiny2-win32-i386.exe tiny2.c + /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 + +#/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/tiny2.c b/src/native/tinype/tiny2.c new file mode 100644 index 0000000..d24c287 --- /dev/null +++ b/src/native/tinype/tiny2.c @@ -0,0 +1,8 @@ +#include <stdio.h> +const char * id = "JogAmp Windows Universal Test PE Executable"; + +int main() +{ + fprintf(stderr, "%s\n", id); + return 42; +} |