I have this:
#include "/home/tom/scripts/c/headers/stdio.h"
#include "/home/tom/scripts/c/headers/stdlib.h"
int main()
{
printf("Hi there\n");
exit(0);
}
compiling it it with:
gcc hello.c -L/home/tom/scripts/c/ -lc -o hello
and I get:
linux-gate.so.1 (0xb7769000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb7571000)
/lib/ld-linux.so.2 (0xb776b000)
I've compiled a bunch a programs in c successfuly but I want the binary to point the shared object ld-linux.so.2
located on /home/tom/scripts/c not to pick the library on the system by default.