|
|
|
Re: .o prefix in object files extention [message #1219813 is a reply to message #1219380] |
Thu, 05 December 2013 22:45   |
Sasha Slijepcevic Messages: 115 Registered: July 2009 |
Senior Member |
|
|
ITargetFilters can intercept each generated compile command line, and add another command to it. So, every time the compiler generates a file <name>.doj, a new command is attached that renames that file to <name>.obf, for example. That would work as long as the archiver and the linker accept files with a custom extension. If that's not the case, you would have to keep renaming files before and after invoking these tools.
I am not sure if it's worth the effort, but at this time I don't see a better solution. There are no any plans to rewrite the whole build object model (which includes _gen.xs) to support object files without ".o<suffix>" extension.
For an example of how to create and use an ITargetFilter, look at my post on Feb 19 2013, 16:08, in this thread http://e2e.ti.com/support/embedded/bios/f/355/p/244102/863109.aspx#863109.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.01780 seconds