I'm attempting to cross compile libvorbis ready to then do the same for libvpx to ultimately compile a windows version of ffmpeg that can handle WebM (along with a few other options that I've yet to move onto).
I'm currently following the guide from the WebM Project wiki here yet I'm running into problems with libvorbis (1.3.3). When running
./configure --prefix=/mingw --target=x86_64-win64-gcc I'm getting back the following with an error:
checking build system type... i686-pc-mingw32 checking host system type... i686-pc-mingw32 checking target system type... Invalid configuration
x86_64-win64-gcc': systemgcc' not recognized configure: error: /bin/sh ./config.sub x86_64-win64-gcc failed
libogg completed just fine with no problems by using the same configure command so I'm pretty sure my setting on the --target should be fine as I'm assuming this is a standard setting for most configure commands when cross-compiling using MinGW.
My question is really, what could be causing this and any ideas how I can correct the issue?