[PD] flext for win

august august at alien.mur.at
Fri May 9 16:27:35 CEST 2003


> That's great. Did flext compile without changes? Any compiler warnings?

no, since its a cygwin environment and mingw-gcc compiler that takes only
the includes and libs from is mingw directory, i had to do a number of
things where FLEXT_OS=3:

	for timeval, i needed to add winsock.h
	to skipove gettimeofday (which isnt with mingw) i had to reverse
the #if statements so that LINUX was WIN.
	for usleep, i had to do the same.

then in cygwin makefile, I had to add -DFLEXT_OS=3 in all CFLAGS. if you
dont define an _OS, make spits out errors.

not sure how it would be best to integrate this.  maybe a
FLEXT_OS_CYGWINMINGW  or something like that.

-august.





More information about the Pd-list mailing list