small build system improvements
This commit is contained in:
1 parent
2dbb696628
commit
5b2c28b281
1 file changed
+3
-3
@@ -337,7 +337,7 @@ void calcRoutineSizes()
|
|||||||
// All written - now launch the assembler
|
// All written - now launch the assembler
|
||||||
|
|
||||||
const std::string cmd = ASM_CMD + outFileName + " -symbolfile -o /dev/null";
|
const std::string cmd = ASM_CMD + outFileName + " -symbolfile -o /dev/null";
|
||||||
std::cout << std::flush;
|
std::cout << "command: " << cmd << "\n" << std::flush;
|
||||||
if (0 != system(cmd.c_str()))
|
if (0 != system(cmd.c_str()))
|
||||||
{
|
{
|
||||||
ERROR("assembler running failed");
|
ERROR("assembler running failed");
|
||||||
@@ -547,7 +547,7 @@ void compileSegment()
|
|||||||
// All written - now launch the assembler
|
// All written - now launch the assembler
|
||||||
|
|
||||||
const std::string cmd = ASM_CMD + outFileName + " -symbolfile -o " + CMD_outFile;
|
const std::string cmd = ASM_CMD + outFileName + " -symbolfile -o " + CMD_outFile;
|
||||||
std::cout << std::flush;
|
std::cout << "command: " << cmd << "\n" << std::flush;
|
||||||
if (0 != system(cmd.c_str()))
|
if (0 != system(cmd.c_str()))
|
||||||
{
|
{
|
||||||
ERROR("assembler running failed");
|
ERROR("assembler running failed");
|
||||||
@@ -852,7 +852,7 @@ void Solver::run()
|
|||||||
{
|
{
|
||||||
// Prepare the log file
|
// Prepare the log file
|
||||||
|
|
||||||
const std::string logFileName = CMD_tmpDir + DIR_SEPARATOR + CMD_segName + "_solver.log";
|
const std::string logFileName = CMD_tmpDir + DIR_SEPARATOR + CMD_segName + "_binsolution.log";
|
||||||
unlink(logFileName.c_str());
|
unlink(logFileName.c_str());
|
||||||
logFile.open(logFileName, std::fstream::out | std::fstream::trunc);
|
logFile.open(logFileName, std::fstream::out | std::fstream::trunc);
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user