static-runtime-libc-repeat.after (463B)
1 tcc_add_support(s1, TCC_LIBTCC1); 2 #if CONFIG_TCC_LIBTCC1_MES 3 tcc_add_support(s1, TCC_LIBTCC1_MES); 4 #endif 5 /* Static archives are searched left-to-right. Runtime helpers can 6 introduce libc references after the first libc scan, so repeat 7 libc exactly as a conventional static compiler driver does. */ 8 if (s1->static_link) 9 tcc_add_library_err(s1, "c"); 10 /* add crt end if not memory output */