[MPlayer-cygwin] Porting
Ruurd Reitsma
rareitsma at yahoo.com
Mon Sep 16 12:34:13 CEST 2002
Hi,
having gained some experience porting some programs (LyX, aspell) to the
windows platform, I might add a few notes on the best way to port mplayer.
* Using cygwin as the build platform is always the easiest way to do a port. By
using the -mno-cygwin flag, an executable is made that does not rely on the
cygwin .dll. An example can be found in the SDL source itself. Another
possibility is installing native mingw gcc and binutils, and making sure those
are the first in the cygwin path. Consequently, configure scripts need only
minor modifications, and there's no need to fiddle with .bat script files.
* It's surprising the current cygwin method works, because there are usually
conflicts (memory management) when mixing C runtimes (msvcrt.dll and
cygwin1.dll). However, a cygwin port of SDL should work properly.
* gnuwin32.sourceforge.net is a good starting point. They also have stripped
down version of glibc that provides some rudimentary posix functionality, but
relies on msvcrt.dll.
Cheers,
Ruurd
__________________________________________________
Do you Yahoo!?
Yahoo! News - Today's headlines
http://news.yahoo.com
More information about the MPlayer-cygwin
mailing list