|
|
|
@ -268,15 +268,17 @@ Compile.prototype.compile = function (source, compiler, options, filters) {
|
|
|
|
|
options = options.concat(compilerInfo.intelAsm.split(" "));
|
|
|
|
|
}
|
|
|
|
|
var compileToAsm;
|
|
|
|
|
var asmFlag = compilerInfo.asmFlag ? compilerInfo.asmFlag : "-S";
|
|
|
|
|
var outputFlag = compilerInfo.outputFlag ? compilerInfo.outputFlag : "-o";
|
|
|
|
|
if (!filters.binary) {
|
|
|
|
|
compileToAsm = compilerProps("compileToAsm", compilerInfo.asmFlag).split(" ");
|
|
|
|
|
compileToAsm = compilerProps("compileToAsm", asmFlag).split(" ");
|
|
|
|
|
} else {
|
|
|
|
|
compileToAsm = compilerProps("compileToBinary", "").split(" ");
|
|
|
|
|
}
|
|
|
|
|
if (compilerInfo.isCl) {
|
|
|
|
|
options = options.concat(['/c', '/Fa' + outputFilename, '/Fo' + outputFilename + ".obj"]);
|
|
|
|
|
} else {
|
|
|
|
|
options = options.concat(['-g', compilerInfo.outputFlag, outputFilename]);
|
|
|
|
|
options = options.concat(['-g', outputFlag, outputFilename]);
|
|
|
|
|
}
|
|
|
|
|
options = options.concat(compileToAsm).concat([inputFilename]);
|
|
|
|
|
|
|
|
|
|