[MPlayer-cygwin] undef ref to WinMain at 16 in cygwin

Arpi arpi at thot.banki.hu
Thu Sep 12 01:01:53 CEST 2002


Hi,

> For starters, the new thread should maybe start with:
> 1) Best environment (djgpp, etc.) to compile it in.
mingw
> 2) Suggestions on how to work with the inline asm in that enviro.
see 1)
if you choose non-gcc compiler - you will get lots of trouble
afaik djgpp is for dos, and cygwin is mroe like a unix/posix emulation layer
around mingw than a different compiler.

> 3) Any other opinions we may have on how to do this 'port.'
imho do a clean 'null' port first, as we did for os/2 some time ago.
it was done at a saturday afternoon, i coded with the help of 2 os/2 gurus.
i'm pretty sure that 98% of the code is portable as-is, only some platform
specific parts should be rewritten, especially the files in the linux/
(should be called: osdep) dir.
then you should be able to compile it and play files with -ao null -vo null :)

the next step is writing ao and vo drivers, and other stuff like native
win32 dll interface (using win's native dll loader instead of teh avifile
hacks).

imho you should forget the gui, it's too lowlevel Xlib and some gtk
specific, you'd better click together something win-friendly.

> 4) How to run ./configure && make && make install.

forget. replace them by config.bat :) and write new makefiles for that arch.
see any projects, they have different scripts and makefiles for major archs
like os2 or win.


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu



More information about the MPlayer-cygwin mailing list