On 12/12/2016 09:54 PM, Riot wrote:
> # build gcc, pass 1:
> cd gcc-6.2.0
> contrib/download_prerequisites
> cd ..
> mkdir gcc-build
> cd gcc-build
> ../gcc-6.2.0/configure --disable-nls --target=x86_64-w64-mingw32
> --enable-languages=c,c++ --with-system-zlib --enable-multilib
> --enable-version-specific-runtime-libs --enable-shared
> --enable-fully-dynamic-string
> make all-gcc -j$(nproc)
> make install-gcc
> cd ..
> # build mingw crt:
> cd mingw-build
> ../mingw-w64-v5.0.0/configure --disable-nls --host=x86_64-w64-mingw32
> --enable-experimental --prefix=/usr/local/x86_64-w64-mingw32

Build and install the mingw-w64-crt part, and then continue on to the
rest of gcc.

Once you have a complete working gcc, only then will the top level
configure work. It's a long standing known issue.

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to