Hi! Is there a way to add a file from a library like:
   tcc_add_support(s1, "libtcc1.a(bcheck.o)");

There was a code in the old tccelf.c (0.9.22) which then removed:
        snprintf(buf, sizeof(buf), "%s/%s", tcc_lib_path, "bcheck.o");
        tcc_add_file(s1, buf);

Currently we install only a libtcc1.a. There is no bcheck.o
Question: how to force a bcheck.o linking?

PS: with tcc_add_file(s1, "/usr/local/lib/tcc/i386/bcheck.o") hack
there is no link time error for a test program

_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to