An objcopy equivalent for Windows? (Hack for clashing lib symbols)
c++, collision, libs, symbols
Solution
Part of the default MSVC tooling: `LIB /EXTRACT` extracts a copy of an object; `LIB /REMOVE` then removes it from the library.
I think `LIB /DEF /EXPORT:externalName=internalName` also would be beneficial to you, when you put the object file back in.
Problem
I'm looking for a Windows equivalent of the GNU tool objcopy. I'm looking to implement the suggestion posted here to my problem, however I need to do it cross-platform (Windows, Linux and Mac). I couldn't find the answer on my google friend, so perhaps the solution needs to be implemented differently. Thank you!