Hello,
Thank you very much for your prompt response. This is much appreciated.
2011/10/14 Kai Tietz <[email protected]>
> Well, in case for cross-compilers this doesn't matter, as
> cross-compilers are prefixed with their target-triplet. Means to call
> cross-compiler from 32-bit -> 64-bit means, that toolchain is prefix
> by x86_64-w64-mingw32-<tools-name>
>
I am building a cross compiler, and I have this issue. Maybe because I am
building a cross compiler ... using the same cross compiler (which might be
stupid but this is what I do for the time being). I switched the path order,
and it solved my problem. In my /mingw64/bin I have both gcc.exe and
x86_64-w64-mingw32-gcc.exe which conflicts with the one I have in my
--prefix directory...
You need to specify on configure for crt the option
> --host=x86_64-w64-mingw32. This indicates to autotools, that you want
> to build for this host. Otherwise it assumes you want to build
> native, which would then mean you are building for 32-bit in your
> case.
>
Of course you need to specify same prefix and sysroot. You just
> missed to specify --host argument on configure.
>
I did specify --host in the confirgure script of crt:
$ cat ./build/mingw64/crt/config.log
This file contains any messages produced by compilers while running
configure, to aid debugging if configure makes a mistake.
It was created by mingw-w64-runtime configure 1.0b, which was generated by
GNU Autoconf 2.67. Invocation command line was
$ ../../../src/mingw-w64-trunk-20110723/mingw-w64-crt/configure
--host=x86_64-w64-mingw32
--prefix=/usr/home/aceg7283/toolchain_gcc_4.6/build/mingw64/target
--with-sysroot=/usr/home/aceg7283/toolchain_gcc_4.6/build/mingw64/target
--
Alexandre
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public