Hello everyone, I would like to report a silent bug in the compiler.
If I clone the git repository, compile tcc with the usual "./configure && make" and then try to compile tests/libtcc_test.c it doesn't work. $ ./tcc -I. -L. tests/libtcc_test.c libtcc.a tcc: error: undefined symbol '_tcc_add_include_path' tcc: error: undefined symbol '_tcc_add_library_path' tcc: error: undefined symbol '_tcc_add_symbol' tcc: error: undefined symbol '_tcc_compile_string' tcc: error: undefined symbol '_tcc_delete' tcc: error: undefined symbol '_tcc_get_symbol' tcc: error: undefined symbol '_tcc_new' tcc: error: undefined symbol '_tcc_relocate' tcc: error: undefined symbol '_tcc_set_error_func' tcc: error: undefined symbol '_tcc_set_lib_path' tcc: error: undefined symbol '_tcc_set_output_type' I want to add that this works fine on Linux x86 but it doesn't work on MacOS ARM64. Is there a way to solve this? Is there something wrong that I'm doing? Thanks for your help. Francesco _______________________________________________ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel