Usage Description
- Method 1: use LD_PRELOAD to overwrite the original implementation.
LD_PRELOAD=/usr/local/ksl/lib/libkpglibc.so <program to be run>
- Method 2: link libkpglibc.so using -L or -l during GCC compilation.
gcc -o test_memcmp test_memcmp.c -L/usr/local/ksl/lib -lkpglibc
Parent topic: kpglibc Usage Description