Le vendredi 16 mars 2012 00:39:37, grischka a écrit : > Thomas Preud'homme wrote: > > Can you give me an example which fails for you? > > $ tcc libtcc.c -DONE_SOURCE -shared -o libtcc.so -ldl I had to add -DTCC_IS_NATIVE > $ 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 Fixed. Note that with or without the change this fails:
./libtcc_test: Symbol `tcc_relocate' causes overflow in R_X86_64_PC32 relocation ./libtcc_test: Symbol `tcc_set_lib_path' causes overflow in R_X86_64_PC32 relocation ./libtcc_test: Symbol `stderr' causes overflow in R_X86_64_PC32 relocation But then it is unrelated to the commit. > > --- grischka Best regards, Thomas Preud'homme > > > _______________________________________________ > Tinycc-devel mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/tinycc-devel
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Tinycc-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/tinycc-devel
