-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 03.10.2013 06:32, asmwarrior wrote: > On 2013-10-3 9:50, asmwarrior wrote: >> I'm not sure the failure reason of detecting expat library in gdb. > OK, I find the reason. > > There is another GCC in my system's PATH variable. Though the mouted /mingw > has the high precedence in the PATH, but the configure script wrongly detect > gcc in "another GCC", not the one mouted /mingw. > > The reason is configure script first try to detect mingw32-gcc.exe, secondly > gcc.exe. > But x32-4.8.1-posix-dwarf-rev5\mingw32\bin does not have mingw32-gcc.exe, it > has either gcc.exe and i686-w64-mingw32-gcc-4.8.1.exe. > So, the mingw32-gcc.exe in "another GCC" was detected and used. > > After fixing the PATH, gdb build successfully now.
Always use --build=i686-w64-mingw32 or --build=x86_64-w64-mingw32 when using mingw-w64 toolchains (obviously, for cross-toolchains you would use --host=i686-w64-mingw32 and --host=x86_64-w64-mingw32). - --build=mingw32 only works for mingw.org toolchains. [arch]-w64-mingw32 has other benefits too (at least at this moment; see the config.guess thread). - -- O< ascii ribbon - stop html email! - www.asciiribbon.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (MingW32) iQEcBAEBAgAGBQJSTPILAAoJEOs4Jb6SI2CwoYsIAI2xMYDWRl+a45WJpdGIngdx 8ZL2LyzDCHJomQyF/ZkXVwmyvAEpXRu9PRN9PJ8p1GppEYQUcrTM9zPrvXdL+0F6 bctnSC3hqwdbBzHqB9JxtyhKTM5xXm35MjDSWLkbDGoO9oFvO+u1lC65ioqqlPzX ht9/8ExiiLKp+Ewwcrp0+4qY3EakRpxEb1OE7gY0DEerMsIlCCpZfeAkbblZTYjA ItQn2S+nKCh+MfIOjHmIWaWL6soUQ4nElnmq/MdSPHoRa5rTd19qJpbRy2IwoX8G FJj/GyLG69fPsf1TdAixPNHPuoQUnv3cCu48bQjA6BZHSOOziVNvXAZ/uFBRD9Q= =EfH0 -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
