When creating a static object, can you rename characters at compile time (without changing the code) on a cross-platform path? I recently recommended objcopy, but Linux is not the only target platform on which it should also run on a Mac. I am compiling using gcc, so I was hoping there was a gcc option.
I have heard about .def files, but this may have been misleading, as the information about them that I found seems to be for windows.
Edit: I am trying to change the name of the C and Fortran functions, in particular, having previously waited for them with the word "wrap" to avoid character conflicts during the link.
source share