[MPlayer-users] unable to cross compile?
Roger Pack
rogerdpack2 at gmail.com
Fri Dec 7 00:38:26 CET 2012
On 12/6/12, Reimar Döffinger <Reimar.Doeffinger at gmx.de> wrote:
> 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
I presume you're referring to
http://www.mplayerhq.hu/DOCS/tech/crosscompile.txt ?
Interestingly, in this attempt I was following the instructions that I found in:
http://www.mplayerhq.hu/MPlayer/releases/mplayer-checkout-snapshot.tar.bz2
(unzipped as mplayer-checkout-snapshot\mplayer-checkout-2012-12-06\DOCS\tech\crosscompile.txt
which read
"Then you need to run
./configure --enable-cross-compile --windres=i686-w64-mingw32-windres
--cc=i686-w64-mingw32-gcc and make."
Is there a reason for the discrepancy?
> In particular do not use --target, it is difficult to use and you are 99%
> certain to use it wrongly.
Oops I had meant to use --host.
Anyway thanks for the help, will report back with results.
-roger-
More information about the MPlayer-users
mailing list