Building a cross-platform i686-pc-linux-gnu ( cpp --version after build was sucessful)

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Building a cross-platform i686-pc-linux-gnu ( cpp --version after build was sucessful)

bhanu kiran chaluvadi
Hi,

I built a cross platform with the following specifications

target:
Architecture- i686 (32 bit amd)Binutils:2.32
kernel: 4.9.156Glibc: 2.19Gcc: 7.4.0

$  cd /home/ach/x-tools/i686-pc-linux-gnu/bin

$ ./i686-pc-linux-gnu-cpp -v

Using built-in specs.
COLLECT_GCC=./i686-pc-linux-gnu-cpp
Target: i686-pc-linux-gnu
Configured with:
/home/ach/rticonnext/build_tools/build/.build/i686-pc-linux-gnu/src/gcc/configure
--build=x86_64-build_pc-linux-gnu --host=x86_64-build_pc-linux-gnu
--target=i686-pc-linux-gnu
--prefix=/home/ach/x-tools/i686-pc-linux-gnu
--with-sysroot=/home/ach/x-tools/i686-pc-linux-gnu/i686-pc-linux-gnu/sysroot
--enable-languages=c,c++ --with-arch=i686
--with-pkgversion='crosstool-NG 1.24.0' --enable-__cxa_atexit
--disable-libmudflap --disable-libgomp --disable-libssp
--disable-libquadmath --disable-libquadmath-support
--disable-libsanitizer --enable-libmpx
--with-gmp=/home/ach/rticonnext/build_tools/build/.build/i686-pc-linux-gnu/buildtools
--with-mpfr=/home/ach/rticonnext/build_tools/build/.build/i686-pc-linux-gnu/buildtools
--with-mpc=/home/ach/rticonnext/build_tools/build/.build/i686-pc-linux-gnu/buildtools
--with-isl=/home/ach/rticonnext/build_tools/build/.build/i686-pc-linux-gnu/buildtools
--disable-lto --with-host-libstdcxx='-static-libgcc
-Wl,-Bstatic,-lstdc++ -lm' --enable-threads=posix
--enable-target-optspace --disable-plugin --disable-nls
--disable-multilib
--with-local-prefix=/home/ach/x-tools/i686-pc-linux-gnu/i686-pc-linux-gnu/sysroot
--enable-long-long
Thread model: posix
gcc version 7.4.0 (crosstool-NG 1.24.0)
COLLECT_GCC_OPTIONS='-E' '-v' '-mtune=generic' '-march=i686'
 /home/ach/x-tools/i686-pc-linux-gnu/libexec/gcc/i686-pc-linux-gnu/7.4.0/cc1
-E -quiet -v - -mtune=generic -march=i686
ignoring nonexistent directory
"/home/ach/x-tools/i686-pc-linux-gnu/i686-pc-linux-gnu/sysroot/home/ach/x-tools/i686-pc-linux-gnu/i686-pc-linux-gnu/sysroot/include"
#include "..." search starts here:
#include <...> search starts here:
 /home/ach/x-tools/i686-pc-linux-gnu/lib/gcc/i686-pc-linux-gnu/7.4.0/include
 /home/ach/x-tools/i686-pc-linux-gnu/lib/gcc/i686-pc-linux-gnu/7.4.0/include-fixed
 /home/ach/x-tools/i686-pc-linux-gnu/lib/gcc/i686-pc-linux-gnu/7.4.0/../../../../i686-pc-linux-gnu/include
 /home/ach/x-tools/i686-pc-linux-gnu/i686-pc-linux-gnu/sysroot/usr/include
End of search list.


It has a line saying that "*ignoring nonexistent directory
"/home/ach/x-tools/i686-pc-linux-gnu/i686-pc-linux-gnu/sysroot/home/ach/x-tools/i686-pc-linux-gnu/i686-pc-linux-gnu/sysroot/include*"....
Is it alright or somethign wrong with it ?


Thanks
Bhanu Kiran . Chaluvadi