[FFmpeg-devel] Compile using bash in Win10 anniversary?

Roger Pack rogerdpack2 at gmail.com
Tue Aug 16 16:50:42 EEST 2016


On 8/13/16, Timo Rothenpieler <timo at rothenpieler.org> wrote:
> On 8/12/2016 8:12 PM, Dan Haddix wrote:
>> Can you cross compile ffmpeg for Windows using the new bash built in to
>> Win10 anniversary? I'm currently using MinGW but it seems like it might be
>> easier to use the built in bash if possible. However I tried a basic
>> build, using the same commands I do in MinGW, and it fails. So I assume
>> there is something I need to do or setup to make it work, but I'm not sure
>> what as my knowledge of Linux is very limited. (I followed a guide to
>> setup MinGW)
>
> The bash for windows contains a full and native Ubuntu userland.
> So if you compile ffmpeg in there, you end up with an ELF binary for
> Linux, just as if you'd have compiled on an actual Ubuntu Linux.

Yeah, he mentioned cross compiling.  Anyway I have heard reports back
from users saying they have successfully used it for cross
compilation, FWIW (haven't tried it myself...).


More information about the ffmpeg-devel mailing list