Answer the question
In order to leave comments, you need to log in
How to fix GCC 4.8.2 compilation problem?
In general, I began to study LFS (Linux from scratch) and a problem arose. After compilation, the $LFS_TGT/include/c++/4.8.2 folder did not appear.
And without the includes inside it, it is impossible to adequately compile GCC at the next stage and Libstdc++ .
Actually, the config:
../gcc/configure
--target=$LFS_TGT
--prefix=/tools
--with-sysroot=$LFS
--with-newlib
--without-headers
--with-local-prefix=/tools
--with-native-system-header-dir=/tools/include
--disable-nls
--disable-shared
--disable-multilib
--disable-decimal-float
--disable-threads
--disable-libatomic
-- disable-libgomp
--disable-libitm
--disable-libmudflap
--disable-libquadmath
--disable-libsanitizer
--disable-libssp
--disable-libstdc -v3
--enable-languages=c,c
--with-mpfr-include=$(pwd)/. ./gcc/mpfr/src
--with-mpfr-lib=$(pwd)/mpfr/src/.libs
Answer the question
In order to leave comments, you need to log in
After compilation, the $LFS_TGT/include/c++/4.8.2 folder did not appear
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question