[Mplayer-cvslog] CVS: main configure, 1.880, 1.881 Makefile, 1.293, 1.294

Sascha Sommer saschasommer at freenet.de
Sun Jun 27 20:21:56 CEST 2004

On Sunday 27 June 2004 19:54, Sascha Sommer CVS wrote:
> CVS change done by Sascha Sommer CVS
> Update of /cvsroot/mplayer/main
> In directory mail:/var2/tmp/cvs-serv3179
> Modified Files:
> 	configure Makefile
> Log Message:
> mingw crosscompiling step 1

Note that it does not work out of the box yet. The problem is
that mplayers buildsystem is trying to compile and execute programs during
configure and during the build process. This will of course
fail for cross compiling

Now some short HOWTO

Get the script from http://www.libsdl.org/extras/win32/cross/README.txt
update the build-cross script to use the latest  w32api and mingw runtime 
packages. After executing the script replaced the directx headers in
/usr/local/cross-tools/include with the ones from 
-s /usr/local/cross-tools/bin/i386-mingw32msvc-windres /usr/local/cross-tools/bin/windres

After that download the cross-make.sh and cross-configure.sh scripts
to /usr/local/bin
and modified the cross-configure.sh script to only pass the --target option to 
The  tree built fine with
/usr/local/bin/cross-configure.sh --enable-static 

However I had to copy the codec-cfg binary from a linux build.
Rich said it would be better to write this tool as a script.
So if you think you can do it. Go ahead.
And of course:
Checking for byte order ... configure: line 
5677: /tmp/mplayer-conf-7560-5328.o: cannot execute binary file
Little Endian

Checking for word size ... configure: line 1: /tmp/mplayer-conf-7560-5328.o: 
cannot execute binary file
Just in case someone wants to crosscompile for systems other than x86 ;)


More information about the MPlayer-cvslog mailing list