Hi Peng, In case you missed it, tcc now works natively on Big Sur with an x86_64 cpu. With M1, it is compiled as x86_64 binary and translates the results with Rosetta.
Have fun. -----Original Message----- From: Tinycc-devel [mailto:[email protected]] On Behalf Of Peng Yu Sent: Thursday, June 24, 2021 00:01 To: tinycc-devel Subject: [Tinycc-devel] Error on Big Sur Hi, https://repo.or.cz/tinycc.git/snapshot/e4f151c4cda30fd4c06655d87c3df02b6513fb54.tar.gz I used the above repo to compile tcc on Big Sur. Then I run the following c file with the compiled tcc. #include <stdio.h> int main() { puts("Hello World!"); } I got the following error. $ ./tcc -run main.c tcc: error: library 'c' not found Does anybody know how to fix the problem? Thanks. -- Regards, Peng _______________________________________________ Tinycc-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/tinycc-devel _______________________________________________ Tinycc-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/tinycc-devel
