• dev Базовая конструкция для кросскомпиляции под Win64 в mingw-w64:
    CC='x86_64-w64-mingw32-gcc' WINDRES='x86_64-w64-mingw32-windres' PATH=".:/usr/local/bin:/bin:/mingw/bin:/mingw/x86_64-w64-mingw32/bin" ../configure --host=x86_64-w64-mingw32 --prefix=/mingw --bindir=/mingw/x86_64-w64-mingw32/bin --libdir=/mingw/x86_64-w64-mingw32/lib --includedir=/mingw/x86_64-w64-mingw32/include

    Для Win32 немного проще:
    PATH=".:/usr/local/bin:/bin:/mingw/bin:/mingw/i686-pc-mingw32/bin" ../configure --prefix=/mingw --bindir=/mingw/i686-pc-mingw32/bin --libdir=/mingw/i686-pc-mingw32/lib --includedir=/mingw/i686-pc-mingw32/include

Replies (0)