The documentation for CompilationTarget says, "if you do not have a suitable C compiler then you will not be able to set CompilationTarget to C". Well at this time, I don't have a compiler installed on either of my computers running Windows XP, or Windows 7. Is it safe to say that any compiler that will run with my OS will be "suitable"? If it isn't that simple, can you recommend a compiler?
|
|
I believe that any compiler that works on your system is suitable, but those compilers that are not explicitly supported by the It is important though to use a 64-bit compiler with a 64-bit version of Mathematica and a 32-bit compiler with the 32-bit version. (Note: I think If your OS is Windows, I recommend that you use Microsoft's command line compiler from the Windows SDK. This comes in both 32-bit and 64-bit varieties and should be auto-detected by Mathematica (saving effort). If you choose to use the popular MinGW version of GCC on Windows, the 64-bit version will need a bit of manual configuration (i.e. it's not so convenient to set up). If you only run a 32-bit version of Mathematica, you can download this 32 version of MinGW, extract it, and place the MinGW directory at |
||||
|
|
|
You may also be interested in this question: How to install and configure Intel C++ Compiler for Mathematica correctly? |
|||
|
|
|
I believe this is answered in Specific Compilers: GCCThe CCompilerDriver package has been tested with several versions of the GNU Compiler Collection (http://gcc.gnu.org) on a variety of different platforms.
Tested versions of GCC and platform. etc... |
|||
|
|

