Which of these compilers should I use if I want to compile in 64bit?

<prefix>/bin/g++.exe
<prefix>/bin/x86_64-w64-mingw32-g++.exe


Is this correct?

if(OS_64_BIT){
   <prefix>/bin/g++.exe
}
else{
   <prefix>/bin/x86_64-w64-mingw32-g++.exe
}

Thanks

From: Jon 
Sent: Wednesday, October 02, 2013 6:27 PM
To: mingw-w64-public 
Subject: [Mingw-w64-public] [doc] "Which compiler should I use" FAQ entry

FAQ entry added under Execution section

https://sourceforge.net/apps/trac/mingw-w64/wiki/FAQ


Answer added as

https://sourceforge.net/apps/trac/mingw-w64/wiki/Usable%20compiler%20executable


Correct, modify, or make clearer as you see fit. If you don't have edit 
privileges reply to this thread and I'll make appropriate changes.


Jon 



--------------------------------------------------------------------------------
------------------------------------------------------------------------------
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
------------------------------------------------------------------------------
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

Reply via email to