1.7. tmp headers-gcc-9.2.0
Taken from pass2-gcc of LFS description. This is separate build, as it should be installed before the compilation of pass2-gcc starts.
#!/bin/sh # Copyright © 1999-2020 Gerard Beekmans # Copyright © 2017-2020 Random Crew # Distributed under the terms of MIT License. MY_P="${P#headers-}" MY_PD="${MY_P}"
Configuration
src_config() { return }
Compilation
src_compile() { return }
Installation
src_install() { path=$(${LFS_TGT}-gcc -print-libgcc-file-name) path=$(dirname ${path}) mkdir -p ${D}/${path}/include-fixed/ cat gcc/limitx.h gcc/glimits.h gcc/limity.h > \ ${D}/${path}/include-fixed/limits.h }
Links
- url.lfs:
- url.lfs.stage1: https://linuxfromscratch.org/lfs/view/9.1/chapter05/gcc-pass2.html