Thomas Preud'homme wrote:
Can you give me an example which fails for you?

$ tcc libtcc.c -DONE_SOURCE -shared -o libtcc.so -ldl
$ tcc tests/libtcc_test.c -I. -o libtcc_test libtcc.so -ldl -Wl,-rpath=`pwd`
$ ./libtcc_test
./libtcc_test: error while loading shared libraries: libtcc.so: cannot open 
shared object file: No such file or directory

--- grischka


_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to