Hi,
I could not find a way to generate symbol file with QBS and GCC.
This is where I stuck:
Rule {
id: sym
inputs: ["application"]
Artifact {
fileTags: ["sym"]
filePath: input.fileName.replace(".elf", ".sym")
}
prepare: {
var CmdPath = "arm-none-eabi-nm";
var args = ["-n", input.filePath]; // <- Here is where
output needs to be redirected into output.fileName
var cmd = new Command(CmdPath, args);
cmd.description = "Generating Symbol file: " + input.fileName;
cmd.highlight = "linker";
return cmd;
}
}
Regards
_______________________________________________
QBS mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/qbs