On 6/15/2010 03:28, Andreas Fabri wrote: > > Hello, > > I try to install mingw-64, msys, and gmp 5.0.1 > > I follow the explanation gven by Ruben Van Boxem <vanboxem.ru...@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 > > . > . > . > checking for assembler global directive attribute... > checking if globals are prefixed by underscore... link: invalid option -- d > Try `link --help' for more information. > unknown > configure: WARNING: > +---------------------------------------------------------- > configure: WARNING: | Cannot determine global symbol prefix. > configure: WARNING: | link -dump -symbols output doesn't contain a > global data s > ymbol. > configure: WARNING: | Will proceed with no underscore. > configure: WARNING: | If this is wrong then you'll get link errors > referring > configure: WARNING: | to ___gmpn_add_n (note three underscores). > configure: WARNING: | In this case do a fresh build with an override, > configure: WARNING: | ./configure gmp_cv_asm_underscore=yes > configure: WARNING: > +---------------------------------------------------------- > checking how to switch to read-only data section... .data > checking for assembler .type directive... > checking for assembler .size directive... > checking for assembler local label prefix... configure: WARNING: "link > -dump -sy > mbols" failure > configure: WARNING: cannot determine local label, using default L > L > checking for assembler byte directive... .byte > checking how to define a 32-bit word... link: invalid option -- d > Try `link --help' for more information. > link: invalid option -- d > Try `link --help' for more information. > configure: error: cannot determine how to define a 32-bit word > >
Hi, The linker is ld, not link. Do check out what link is and what it does. I suspect it is from coreutils. gmp configure is a bit strange, since you are cross compiling, suggest you set "CC=x86_64-w64-mingw32-gcc LD=x86_64-w64-mingw32-ld AR=x86_64-w64-mingw32-ar ABI=64 --build=core2-pc-mingw32 --host=core2-pc-mingw32". Example: configure CC=c86_64-w64-mingw32-gcc LD=.... --disable-static ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
