[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Tinycc-devel] tcc need to support --arch on macOS

From: Christian JULLIEN
Subject: [Tinycc-devel] tcc need to support --arch on macOS
Date: Tue, 27 Jul 2021 09:25:12 +0200 (CEST)


In order to support tcc bootstrap with tcc on macOS, we'll need to add -arch <cpu> option to tcc.
It should at least support this option even if nothing is implemented because -arch is now given on macOS because of this new configure test:

+# on OSX M1 with --cpu=x86_64, build a tcc to run under rosetta entirely
+if test "$darwin" = "yes" -a "$cpu" = "x86_64" -a "$cpu_sys" = "arm64"; then
+    CFLAGS="$CFLAGS -arch $cpu"
+    LDFLAGS="$LDFLAGS -arch $cpu"

reply via email to

[Prev in Thread] Current Thread [Next in Thread]