• i've got to admit it's getting better

    From Maurice Kinal@2:280/464.113 to Nowhere Man on Sunday, December 09, 2018 06:32:15
    Hey Nowhere!

    From the latest and greatest x86_64-silvermont-linux-gnu toolchain;

    -={ '<Esc>:read !gcc -v' starts }=-
    Using built-in specs.
    COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/home/tothings/toolchain/tools/bin/../libexec/gcc/x86_64-si lvermont-linux-gnu/8.2.0/lto-wrapper
    Target: x86_64-silvermont-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-silvermont-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 }=-

    Bingo! Exactly what it should be. Now to replicate this on a raspberry pi 3b+. Please stay tuned.

    Life is good,
    Maurice

    ... Don't cry for me I have vi.
    --- GNU bash, version 5.0.0(1)-beta2 (x86_64-silvermont-linux-gnu)
    * Origin: Little Mikey's EuroPoint - Ladysmith BC, Canada (2:280/464.113)