[XviD-devel] [CVS commit] devapi4 -- better cross compilation
handling
Edouard Gomez
ed.gomez at free.fr
Wed Oct 15 16:59:35 CEST 2003
Hello,
This started on IRC trying to find out why the build failed with cygwin
(there was no bug other than the usual one between the screen and the
chair) and it ended with me building a win32 dll on my gnu/linux system.
That could also make happy people wanting to automate the build process
for a daily snapshot.
2003-10-15 13:53:11 GMT patch-70
Summary:
Better cross compilation handling.
Revision:
xvidcore--devapi4--1.0--patch-70
With this patch it is now possible to cross compile xvid
quite easily for win32 platform on a build linux host.
Recipe for debian system:
$ apt-get install mingw32
(or create your own cross compiler/binutils suite and install mingw32
header files -- sorry i don't have a recipe for this, this is let as
an exercice for the reader)
$ cd ${xvidcore}
$ cd build/generic
$ ./bootstrap.sh
$ ./configure --host=i586-mingw32msvc
(all occurences of i586-mingw32msvc may be replaced with the right
prefix you've choosen for your cross compiler and cross binutils)
$ make
$ cd ../../vfw/bin
$ make -f Makefile.cygwin \
CC=i586-mingw32msvc-gcc WINDRES=i586-mingw32msvc-windres
Enjoy your win32 xvid.dll build by free software, on a free OS, for a devil
OS target.
modified files:
build/generic/configure.in vfw/bin/Makefile.cygwin
--
Edouard Gomez
More information about the XviD-devel
mailing list