Hallo Nowhere!
Exactly the same except totally different;
-={ '<Esc>:read !gcc -v' starts }=-
Using built-in specs.
COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/home/tothings/toolchain/tools/bin/../libexec/gcc/x86_64-bonnell-linux-gnu/8.2.0/lto-wrapper
Target: x86_64-bonnell-linux-gnu
Configured with: ../configure --prefix=/tools --with-local-prefix=/tools --with-native-system-header-dir=/tools/include --enable-languages=c,c++ --disable-multilib --disable-libstdcxx-pch --disable-bootstrap --disable-libgomp --build=x86_64-bonnell-linux-gnu
Thread model: posix
gcc version 8.2.0 (GCC)
-={ '<Esc>:read !gcc -v' ends }=-
-={ '<Esc>:read !/tools/lib/libc.so.6' starts }=-
GNU C Library (GNU libc) stable release version 2.28.
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 8.2.0.
libc ABIs: UNIQUE IFUNC ABSOLUTE
For bug reporting instructions, please see: <
http://www.gnu.org/software/libc/bugs.html>.
-={ '<Esc>:read !/tools/lib/libc.so.6' ends }=-
According to Chapter 5 of Linux From Scratch the following makes an excellent test of the toolchain;
echo 'int main(){}' > dummy.c ; cc dummy.c ; readelf -l a.out | grep ': /tools'
which was dumped into a file called temp.sh and run;
-={ '<Esc>:read !sh temp.sh' starts }=-
[Requesting program interpreter: /tools/lib/ld-linux-x86-64.so.2]
-={ '<Esc>:read !sh temp.sh' ends }=-
Two down, one to go.
Het leven is goed,
Maurice
... Huil niet om mij, ik heb vi.
--- GNU bash, version 5.0.0(1)-beta2 (x86_64-bonnell-linux-gnu)
* Origin: Little Mikey's EuroPoint - Ladysmith BC, Canada (2:280/464.113)