Oh my... Wrong mailing list. Sorry guys.
2015-07-17 19:43 GMT+08:00 Andrii Anpilogov <[email protected]>: > 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 > -- -- WBR, Andrii Anpilogov Phone: +86 186-1660-3720 Skype: anpilogov.andrey mailto:[email protected], [email protected]
_______________________________________________ QBS mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/qbs
