From 5b2c28b28155afd58a1a125e9ac15aad5c31b4ed Mon Sep 17 00:00:00 2001 From: FeralChild64 Date: Sat, 14 Sep 2019 15:06:48 +0200 Subject: [PATCH] small build system improvements --- src/build_segment.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/build_segment.cc b/src/build_segment.cc index 3453d458..06ab9816 100644 --- a/src/build_segment.cc +++ b/src/build_segment.cc @@ -337,7 +337,7 @@ void calcRoutineSizes() // All written - now launch the assembler 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())) { ERROR("assembler running failed"); @@ -547,7 +547,7 @@ void compileSegment() // All written - now launch the assembler 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())) { ERROR("assembler running failed"); @@ -852,7 +852,7 @@ void Solver::run() { // 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()); logFile.open(logFileName, std::fstream::out | std::fstream::trunc);