diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2010-06-13 21:45:29 (GMT) |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2010-06-13 21:45:29 (GMT) |
commit | b00d3ef516c0ef9312c05cf1ad552e0149c14142 (patch) | |
tree | 9574e796667106481099ee16b401921a88ce5748 /patches/libelf | |
parent | 399e7f8f8a1693b6126a5a3ca4089b90b9b0f4c6 (diff) |
libc/newlib: build in the 'start files' pass
A few facts:
- building the C library requires a proper core compiler
- core compiler is issued from one of the core passes
- the C library is required to build libstdc++
- newlib is only built for baremetal
- in bare metal, the final compiler is issued from one of the core passes
So we need to build the C library between core pass 1 and core pass 2.
The only place is eithe libc_headers() or libc_start_files(). The most
pertinent seems to be libc_start_files().
So we build newlib from libc_start_files(), and leave libc() empty.
Diffstat (limited to 'patches/libelf')
0 files changed, 0 insertions, 0 deletions