3 ms·
Like, a linker, with "objcopy --strip-symbols" run as the post-step? I believe you can do this even today.
by Joker_vD 1y ago
Like, a linker, with "objcopy --strip-symbols" run as the post-step? I believe you can do this even today.
- dzaima 1y ago--localize-hidden seems to be more what I was thinking of. So this works: ld --relocatable --whole-archive crappy-regular-static-archive.a -o merged.o objcopy --localize-hidden merged.o merged.o This should (?) then solve most issues in the article, except that including the same library twice still results in an error.