[MPlayer-users] unable to cross compile?

Reimar Döffinger Reimar.Doeffinger at gmx.de
Thu Dec 6 22:59:38 CET 2012


On 6 Dec 2012, at 21:51, Roger Pack <rogerdpack2 at gmail.com> wrote:
> Hello.
> Here is my feedback from an attempt at cross compiling today,
> so...since I'm not awesome at it, take it with a grain of...sand :)
> 
> First, I had "hoped" that passing it something like
> ./configure --host=x86_64-w64-mingw32
> 
> would "automagically" setup the correct cc/windres settings, etc.  It
> appears it doesn't?
> 
> Next, I ran this script (perhaps it isn't enough?):
> 
> export PATH=/home/rdp/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/i686-w64-mingw32/bin/:/home/rdp/dev/ffmpeg-windows-build-helpers/sandbox/mingw-w64-i686/bin:$PATH
> 
> ./configure --target=i686-w64-mingw32 --enable-static
> --enable-cross-compile --windres=i686-w64-mingw32-windres
> --cc=i686-w64-mingw32-gcc && make -j 5

Please use the command-line in DOCS/tech/crosscompile.txt
In particular do not use --target, it is difficult to use and you are 99% certain to use it wrongly.
In case of MinGW we can and do autodetect the correct target system.


More information about the MPlayer-users mailing list