alternative crt startup headers for size-sensitive executable built by mingw
Console Applications use main
entry point for ansi and wmain
entry point for unicode.
Include main.h
for int main(argc,argv)
or include mainv.h
for int main()
,
and append -nostartfiles
to your compiler parameters.
Windows Applications use WinMain
entry point for ansi and wWinMain
entry point for unicode.
Include winmain.h
and append -nostartfiles -mwindows -lshlwapi
to your compiler parameters.
commandlinetoargva.h
is NOT required for a unicode compilation.
LGPL 2.1+
forcommandlinetoargva.h
andexamples/hello_win.c
MIT
orLGPL 2.1+
for anything else in this repo
Check examples
folder for examples.
- https://github.com/myfreeer/mastervol
- https://stackoverflow.com/a/48301499/6848772
- https://github.com/pts/pts-tinype
- https://gist.github.com/pts/9ef2b1036d0b42508327559eeb2e0eb5
- https://www.winehq.org/
- https://github.com/futurist/CommandLineToArgvA
- http://repo.or.cz/tinycc.git