It really helped me, but it is too hard to find a full CCompiler...I've tried with intel that is listed under the full CCompliers and nothing happens...this is what I am trying to do :
$CCompiler = {"Compiler" ->
CCompilerDriver`compiler`compiler,
"CompilerInstallation" -> "C:\Users\Felipe\\compiler intel"};
Needs["CCompilerDriver`"];
Needs["SymbolicC`"]
DefaultCCompiler[]
lib = CFunction["int",
"main", {{"int", "argc"}, {"char",
CDereference[CArray["argv", {}]]}},
CBlock[{CReturn[0]}]];
str = ToCCodeString[lib]
CreateExecutable[str, "FELIPE2"]
examplesDir = FileNameJoin[{$InstallationDirectory, "SystemFiles", "Links",
"WSTP", "FELIPE2", $SystemID}];
files = FileNames["FELIPE2", examplesDir];
Needs["CCompilerDriver`"]
DefaultCCompiler[]
exe = CreateExecutable[files, "FELIPE2", "Language" -> "C++",
"TransferProtocolLibrary" -> "WSTP"]
Install[exe]
CCompilers[Full]
but it returns me:
CreateExecutable[{}, "FELIPE2", "Language" -> "C++",
"TransferProtocolLibrary" -> "WSTP"] for the exe=....