Good evening,
 
long time mailing-list reader here, but never posted anything.
I remember that I was able to compile TinyCC on my MacBook fine before.
Ever since I upgraded to macOS Sequoia, I can not compile it any more.
After ./configure and make, it looked quite smooth up until it breaks with:
 
In file included from bt-exe.c:8:
In file included from ../tccrun.c:21:
In file included from ../tcc.h:37:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/math.h:614: error: ';' expected (got "__fabsf16")
make[1]: *** [../bt-exe.o] Error 1
make: *** [libtcc1.a] Error 2
chris@MacBookPro tinycc %
 
Now, I had a look at the file in question (math.h), and from line 613 onwards  it says:

/* half precision math functions */
extern _Float16 __fabsf16(_Float16) __API_AVAILABLE(macos(15.0), ios(18.0), watchos(11.0), tvos(18.0));
 
and continues with like 15 more (ceil, floor, trunc, etc.) functions for half-precision, all looking quite similar to the one above.
 
Does anyone know how I can get it to compile? I am on an Intel-based 2019 MacBook Pro with macOS Sequoia 15.3.1
 
chris@MacBookPro tinycc % clang --version
Apple clang version 16.0.0 (clang-1600.0.26.6)
Target: x86_64-apple-darwin24.3.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
chris@MacBookPro tinycc %
 
Greetings from Germany
Chris
 
_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to