On Thu, Apr 4, 2013 at 11:08 AM, Thorsten Glaser <t...@mirbsd.de> wrote: > Hi, > > the GCC wiki says: > > “We will periodically pick a stable version of GCC, and require that that > version of GCC be able to build all versions of GCC up to and including > the next stable version. E.g., we may decide that all newer versions of > GCC should be buildable with GCC 4.3.5.” > > Which version has currently been picked, and where can such information > reliably (thinking of a permanent weblink) be found?
in the install instructions (gcc/doc/install.texi) in the pre-requesites section. Currently it reads: @heading Tools/packages necessary for building GCC @table @asis @item ISO C++98 compiler Necessary to bootstrap GCC, although 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. To build all languages in a cross-compiler or other configuration where 3-stage bootstrap is not performed, you need to start with an existing GCC binary (version 3.4 or later) because source code for language frontends other than C might use GCC extensions. Note that to bootstrap GCC with versions of GCC earlier than 3.4, you may need to use @option{--disable-stage1-checking}, though bootstrapping the compiler with such earlier compilers is strongly discouraged. which you can read as "bootstrapping with GCC 3.4 works, earlier versions may, but you are not supported here". Richard. > Background to this question is that MirBSD might be transitioning to use > pcc in the base system instead of the old GCC 3.4, and thus will need a > series of bootstrap/stable compilers ported in order to be able to build > the modern C++ beasts (LLVM/Clang and GCC 4.8 and up), so I’d like to know > which version(s) I should pick, since pcc is C-only. > > (Also, general curiosity. This information might also be of interest and > possibly value to other porters to minority operating environments such > as FreeMiNT, the other BSDs, etc.) > > Thanks in advance, > //mirabilos >