config/config.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Jul 17 22:43:07 2011 +0200 (2011-07-17)
changeset 2893 a8a65758664f
parent 2481 30644208c955
child 3313 ad14212ebf54
permissions -rw-r--r--
cc/gcc: do not use the core pass-2 to build the baremetal compiler

In case we build a baremetal compiler, use the standard passes:
- core_cc is used to build the C library;
- as such, it is meant to run on build, not host;
- the final compiler is meant to run on host;

As the current final compiler step can not build a baremetal compiler,
call the core backend from the final step.

NB: Currently, newlib is built during the start_files pass, so we have
to have a core compiler by then... Once we can build the baremetal
compiler from the final cc step, then we can move the newlib build to
the proper step, and then get rid of the core pass-1 static compiler...

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
     1 source "config/configure.in"
     2 source "config/backend.in"
     3 source "config/global.in"
     4 source "config/target.in"
     5 source "config/toolchain.in"
     6 source "config/kernel.in"
     7 source "config/binutils.in"
     8 source "config/cc.in"
     9 source "config/libc.in"
    10 source "config/debug.in"
    11 source "config/companion_libs.in"
    12 source "config/companion_tools.in"
    13 source "config/test_suite.in"