From: JonY <jo...@us...> - 2010-06-15 11:06:05
|
On 6/15/2010 18:01, Ruben Van Boxem wrote: > 2010/6/15 Ruben Van Boxem<van...@gm...> > >> 2010/6/14 Andreas Fabri<and...@ge...> >> >> >>> Hello, >>> >>> I try to install mingw-64, msys, and gmp 5.0.1 >>> >>> I follow the explanation gven by Ruben Van Boxem<vanboxem.ruben@gm.. >>> in the mailing list (I removed the prefix of the .exe files though) >>> >>> >>> https://sourceforge.net/mailarchive/forum.php?thread_name=AANLkTilI0Pv5dbWeckloeDyjbOwSUJBEGYwpCwQbpIRq%40mail.gmail.com&forum_name=mingw-w64-public >>> >>> and I get stuck with an error message. Any help is welcome. >>> >>> Best regards, >>> >>> Andreas Fabri >>> >>> >>> $ ./configure --enable-shared --disable-static --enable-alloca=no >>> --host=x86_64 >>> >>> -w64-mingw32 >>> configure: WARNING: If you wanted to set the --build type, don't use >>> --host. >>> If a cross compiler is detected then cross compile mode will be used. >>> checking build system type... core2-pc-mingw32 >>> >> >> First, to get people reading this list to use our wiki page: >> http://sourceforge.net/apps/trac/mingw-w64/wiki/MSYS >> It mentions the solution I describe below for your problem. >> >> Some oddities: >> ---------------------- >> - build system type should always be reported as i686-pc-mingw32, but I'm >> assuming this is a typo. No, not a typo, its GMP configure trying to be smart. >> - It might be necessary to keep a copy of the prefixed toolchain (the >> x86_64-w64-mingw32-gcc.exe and so forth), especially when using MSYS because >> you are *essentially* crosscompiling. If you hate renaming everything and >> don't *need* GCC 4.5, use sezero's toolchains, they are "MSYS-ready" so to >> speak (contain both prefixed and unprefixed copies). >> - I tried configuring GMP and am also having trouble. It seems configure >> is not pleased with ld or gcc/g++ as a linker (should be reported imho, >> link.exe is a coreutils app, not part of any toolchain). >> I didn't have such issues cross compiling GMP in Cygwin or Linux. >> A solution: >> ---------------- >> I just built GMP successfully: >> configure --host=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 >> --enable-shared --disable-static --enable-alloca=no >> make >> make check >> make install >> >> The "target" is not necessary for most other builds, but apparantly GMP >> requires it. >> Don't you mean --build? |