Thanks Kai. Yes, it explains it very nicely. Now it is all clear.
-----Original Message----- From: Kai Tietz Sent: Monday, September 30, 2013 3:35 PM To: mingw-w64-public@lists.sourceforge.net Subject: Re: [Mingw-w64-public] MinGW64\bin... 32/64 bits compier? We have this in our FAQ AFAIR. But once again, never - and I mean NEVER - use the executable you find in <sysroot>/<target>/bin. Only use the variant in <sysroot>/bin folder. In your case the later is the proper one (bin\x86_64-w64-mingw32-g++.exe). The other in <sysroot>/<target>/bin (in your case x86_64-w64-mingw32/bin/g++.exe) is for internal use of some build-tools. I repeat myself here. Never, really never call these executables directly!. The target-prefix before the gcc-tool is caused by the fact that you are using a cross-compiler. To control the bitness of target is done via the switches -m32/-m64. Of course you need to make sure that your used toolchain was actual setup-ed proper for multilib-scenario. Otherwise you will run into troubles as no runtime for one target might be present. Hope this solves your confusion a bit. Regards, Kai ------------------------------------------------------------------------------ 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=60133471&iu=/4140/ostg.clktrk _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public ------------------------------------------------------------------------------ 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 Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public