I have a Form Application that makes use of CGT tools (Compiler and Linker) . I want to be able to get all the messages errors/warnings from Compiler and Linker at runtime and display them to a console window, similarly to what CCS does. How can I catch all these messages? I added "--write_diagnostics_file" as option that produces an .err output file, that contains only messages from Compiler and not From Linker.
1) Is there any way to get Linker messages?
2) Is there any other simpler way to get messages at runtime without needing to save them in a .err file?
There is no equivalent to --write_diagnostics_file for linker diagnostics. The only other way I know to capture the diagnostics is to use the OS supplied functionality to redirect the output streams stdout and stderr.
Thanks and regards,
TI C/C++ Compiler Forum ModeratorPlease click Verify Answer on the best reply to your question.The Compiler Wiki answers most common questions.Track an issue with SDOWP. Enter your bug id in the "Find Record ID" box.
Thanks for the reply. I think I will try to redirect output stream and the get messages.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.