#37195 - cesium - Tue Mar 08, 2005 8:22 pm
I have forgotten how to modify the gcc binaries to change the error message format. Does anyone know how to do this?
It used to involve editing the binary to change a printf format arg.
I am switching to devkitarm and would like to change these binaries.
This is needed so that I can double click on an error message in MSVC++ and be taken directly to the offending line in the source file.
Thanks,
cesium
#37202 - sajiimori - Tue Mar 08, 2005 9:21 pm
Use a perl script to alter the output. Do not alter your binaries.
#37214 - cesium - Tue Mar 08, 2005 11:52 pm
Can anyone actually answer the question that was asked?
Can you provide a solution rather than a sermon?
Can you help me achieve a specific, well defined, clearly stated goal?
If so, please reply.
cesium,
(Keep me away from water!)
#37218 - sajiimori - Wed Mar 09, 2005 12:36 am
I'm sorry, I must have prematurely assumed that your goal was to get error messages in MSVC format. Perhaps someone here can help you achieve your actual goal of editing binaries.
#37333 - tepples - Thu Mar 10, 2005 3:41 pm
cesium wrote: |
Can anyone actually answer the question that was asked?
Can you provide a solution rather than a sermon? |
Write a program in Perl or another text processing language that takes GCC-format error messages on standard input and produces MSVC-format error messages on standard error output. Then pipe GCC's stderr through that program.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.
#37542 - cesium - Sat Mar 12, 2005 10:38 pm
I surrender.
cesium (hydroxide).