Re:SmallerC – Small, Simple, Self-Compiling, Single Pass C C...
by earenndil on Friday October 13, 2017 @08:50PM
(#15470088)
Can you then compile a new version of gcc with that old gcc? Or are there more steps in between?
Re:SmallerC – Small, Simple, Self-Compiling, Single Pass C C...
by dane-pgp on Saturday October 14, 2017 @11:54AM
(#15472683)
According to:
http://gcc.gnu.org/install/prerequisites.html
"versions of GCC prior to 4.8 also allow bootstrapping with a ISO C89 compiler and versions of GCC prior to 3.4 also allow bootstrapping with a traditional (K&R) C compiler."
So you might need to build tcc -> gcc 3.3 -> gcc 4.7 -> gcc 7.2
As of a few months ago, it is possible to compile (an old, non-C++ version of) gcc with tcc, which is a good position to be in:
https://lists.gnu.org/archive/html/tinycc-devel/2017-05/msg0...