ar x libsupc++.a
for i in *.o ; do mv $i new_$i ; objcopy new_$i $i --redefine-sym memcpy=memcpy@GLIBC_2.2.5 ; rm new_$i ; done
ar rcs libsupc++.a *.o
Created
December 6, 2016 09:51
-
-
Save Oleksiy-Yakovenko/c03d81767c015ed7f14607c54ebff58f to your computer and use it in GitHub Desktop.
How to patch libsupc++.a to link against older glibc
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment