I get the following error messages: ./Downloads/tmp/usr/bin/../lib/gcc/arm-linux-gnueabihf/4.6/../../../../arm-linux-gnueabihf/bin/ld: cannot find -lgcc_s and Downloads/tmp/usr/bin/../lib/gcc/arm-linux-gnueabihf/4.6/../../../../arm-linux-gnueabihf/bin/ld: cannot find -lgcc when I compile a C++ source file on an Ubuntu Linux 16.04 machine using the C++ ARMv6 compiler, arm-linux-gnueabihf-g++-4.6.
Please let me caution the reader that I downloaded this compiler rather than installing it with something like sudo apt-get install arm-linux-gnueabihf-g++. *
Do these errors have anything to do with arm-linux-gnueabihf-g++-4.6 --sysroot or the fact that strace shows collect2's runtime filepath is not resolved or an incorrect bash shell export LD_LIBRARY_PATH? Or, could these errors be caused by another source?
We are using the arm-linux-gnueabihf-g++-4.6 compiler to cross-compile source files for the Raspberry PI ARM v6 emulator mounted on an SD Card and as a linker for generating executables which load shared objects.
Please recommend a way to solve the above 2 error messages.
Any help is greatly appreciated.