This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Which compiler version should we use to compile Cadence Compilers
- From: Rogerio de Souza Moraes <rogerio at cadence dot com>
- To: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Mon, 9 Apr 2018 19:29:01 +0000
- Subject: Which compiler version should we use to compile Cadence Compilers
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
Hi everyone,
I goal is to discuss if we should use the compiler available in the build machine (for example, in RHEL 6.5 it is GCC v4.4.7) or if we should use the previous version of Cadence GCC (for example v4.8.3).
Currently, we use the lastest officially supported Cadence GCC version.
But we are using the configuration parameter “enable-bootstrap”, which steps are described below, I think we could use the compiler available in the build machine.
* Build tools necessary to build the compiler.
* Perform a 3-stage bootstrap of the compiler. This includes building three times the target tools for use by the compiler such as binutils (bfd, binutils, gas, gprof, ld, and opcodes) if they have been individually linked or moved into the top level GCC source tree before configuring.
* Perform a comparison test of the stage2 and stage3 compilers.
* Build runtime libraries using the stage3 compiler from the previous step.
I want to hear more opinions about this topic, before bring it to next compilers meeting.
Regards,
--
Rogerio