Index ¦ Archives ¦ RSS

title 20

Estimated read time: 1 minutes

mingw packages arrived! namely:

mingw-binutils
mingw-gcc
mingw-runtime
mingw-runtime-headers
mingw-w32api
mingw-w32api-headers
arrived to devel-extra. a sample use of it:
$ cat Makefile
CC = i386-mingw32msvc-gcc -O2 -Wall -mms-bitfields -mwindows

foo.exe: foo.c $(CC) -o $@ $gt;

$ cat foo.c
#include 

int main(void) { printf("hey!\n"); return(0); }

$ make
i386-mingw32msvc-gcc -O2 -Wall -mms-bitfields -mwindows -o foo.exe foo.c
$ wine foo.exe
hey!
:)

update: a related article

© Miklos Vajna. Built using Pelican. Theme by Giulio Fidente on github.