WINEGCC(1) Wine Developers Manual WINEGCC(1) (NAME) winegcc - C ++C MinGW Wine (SYNOPSIS) winegcc [options] infile... (DESCRIPTION) winegcc (wrapper) gcc MinGW . Win32 MinGW Winelib . wineg++ winegcc . winegcc gcc/g++/windres winegcc/wineg++/wrc Makefile MinGW Winelib Wine . Makefile MinGW Wine . gcc gcc . (OPTIONS) gcc: gcc (backend) . -b,--target target (triplet) (cross-compiling) . winegcc gcc target-gcc . --wine-objdir dir (object) Wine . Wine (build tree) . --winebuild name winebuild winegcc . winegcc (PATH) winebuild . WINEBUILD . -fno-short-wchar wchar_t short unsigned int Win32 . -mconsole '--subsystem console' winebuild . . -mno-cygwin libc MSVCRT Wine . Win32 MSVCRT . MinGW MSVCRT Cygwin libc . MinGW Makefile Wine MinGW+MSYS MinGW+Cygwin . -municode main() wmain() . -mwindows -lgdi32 -lcomdlg32 -lshell32 '--subsystem windows' winebuild . -nodefaultlibs . -lkernel32 -luser32 -ladvapi32 . -mwindows . -nostartfiles winecrt0 . -Wb,option winebuild . option . -Wl,--out-implib,lib.a dll (import library) . (ENVIRONMENT) WINEBUILD winebuild winegcc . winegcc PATH winebuild . (DEFINES) winegcc __WINE__ Wine . MinGW WIN32 _WIN32 __WIN32 __WIN32__ __WINNT __WINNT__ . (BUGS) dllimport/dllexport ELF gcc . (Static linking) DLL Wine . -static --static -Wl,-static . Wine . (AUTHORS) winegcc Dimitrie O. Paun . (AVAILABILITY) winegcc Wine WineHQ Wine . (SEE ALSO) gcc(1), winebuild(1), wrc(1), wine(1), Wine . Wine 11.17 October 2005 WINEGCC(1)