changing mfloat flag to: -mfloat-abi=soft gives another type of error during build:
dro@MacBook-Pro-Wojciech build % cmake -D CMAKE_TOOLCHAIN_FILE=/Users/dro/Development/arm/code/toolchainpi.cmake ../
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.
-- The C compiler identification is GNU 8.3.0
-- The CXX compiler identification is GNU 8.3.0
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - no
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Users/dro/Development/arm/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Checking whether CXX compiler has -isysroot
-- Checking whether CXX compiler has -isysroot - yes
-- Checking whether CXX compiler supports OSX deployment target flag
-- Checking whether CXX compiler supports OSX deployment target flag - no
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Users/dro/Development/arm/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/dro/Development/arm/code/cmake-hello-world/build
dro@MacBook-Pro-Wojciech build % rm -rf CMakeFiles
dro@MacBook-Pro-Wojciech build % make
/Applications/CMake.app/Contents/bin/cmake -S/Users/dro/Development/arm/code/cmake-hello-world -B/Users/dro/Development/arm/code/cmake-hello-world/build --check-build-system CMakeFiles/Makefile.cmake 0
/Applications/CMake.app/Contents/bin/cmake -E cmake_progress_start /Users/dro/Development/arm/code/cmake-hello-world/build/CMakeFiles /Users/dro/Development/arm/code/cmake-hello-world/build//CMakeFiles/progress.marks
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/Makefile2 all
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f Hello/CMakeFiles/Hello.dir/build.make Hello/CMakeFiles/Hello.dir/depend
cd /Users/dro/Development/arm/code/cmake-hello-world/build && /Applications/CMake.app/Contents/bin/cmake -E cmake_depends "Unix Makefiles" /Users/dro/Development/arm/code/cmake-hello-world /Users/dro/Development/arm/code/cmake-hello-world/Hello /Users/dro/Development/arm/code/cmake-hello-world/build /Users/dro/Development/arm/code/cmake-hello-world/build/Hello /Users/dro/Development/arm/code/cmake-hello-world/build/Hello/CMakeFiles/Hello.dir/DependInfo.cmake --color=
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f Hello/CMakeFiles/Hello.dir/build.make Hello/CMakeFiles/Hello.dir/build
[ 25%] Building CXX object Hello/CMakeFiles/Hello.dir/Speaker.cpp.o
cd /Users/dro/Development/arm/code/cmake-hello-world/build/Hello && /Users/dro/Development/arm/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi-g++ -march=armv6zk -mcpu=arm1176jzf-s -mfpu=vfp -mfloat-abi=soft -v -std=c++11 -march=armv6zk -mcpu=arm1176jzf-s -mfpu=vfp -mfloat-abi=soft -v -std=c++11 -isysroot /Users/dro/Development/arm/rpisysroot/rpisysroot/ -Wall -Wall -MD -MT Hello/CMakeFiles/Hello.dir/Speaker.cpp.o -MF CMakeFiles/Hello.dir/Speaker.cpp.o.d -o CMakeFiles/Hello.dir/Speaker.cpp.o -c /Users/dro/Development/arm/code/cmake-hello-world/Hello/Speaker.cpp
Using built-in specs.
COLLECT_GCC=/Users/dro/Development/arm/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi-g++
Target: arm-unknown-linux-gnueabi
Configured with: /Users/chris/Downloads/.build/arm-unknown-linux-gnueabi/src/gcc/configure --build=x86_64-build_apple-darwin18.6.0 --host=x86_64-build_apple-darwin18.6.0 --target=arm-unknown-linux-gnueabi --prefix=/Users/chris/x-tools/arm-unknown-linux-gnueabi --with-sysroot=/Users/chris/x-tools/arm-unknown-linux-gnueabi/arm-unknown-linux-gnueabi/sysroot --enable-languages=c,c++ --with-float=soft --with-pkgversion='crosstool-NG 1.24.0' --disable-sjlj-exceptions --enable-__cxa_atexit --disable-libmudflap --disable-libgomp --disable-libssp --disable-libquadmath --disable-libquadmath-support --disable-libsanitizer --disable-libmpx --with-gmp=/Users/chris/Downloads/.build/arm-unknown-linux-gnueabi/buildtools --with-mpfr=/Users/chris/Downloads/.build/arm-unknown-linux-gnueabi/buildtools --with-mpc=/Users/chris/Downloads/.build/arm-unknown-linux-gnueabi/buildtools --with-isl=/Users/chris/Downloads/.build/arm-unknown-linux-gnueabi/buildtools --enable-lto --enable-threads=posix --enable-target-optspace --enable-plugin --enable-gold --disable-nls --disable-multilib --with-local-prefix=/Users/chris/x-tools/arm-unknown-linux-gnueabi/arm-unknown-linux-gnueabi/sysroot --enable-long-long
Thread model: posix
gcc version 8.3.0 (crosstool-NG 1.24.0)
COLLECT_GCC_OPTIONS= '-mcpu=arm1176jzf-s' '-mfpu=vfp' '-mfloat-abi=soft' '-v' '-std=c++11' '-mcpu=arm1176jzf-s' '-mfpu=vfp' '-mfloat-abi=soft' '-v' '-std=c++11' '-isysroot' '/Users/dro/Development/arm/rpisysroot/rpisysroot/' '-Wall' '-MD' '-MT' 'Hello/CMakeFiles/Hello.dir/Speaker.cpp.o' '-MF' 'CMakeFiles/Hello.dir/Speaker.cpp.o.d' '-o' 'CMakeFiles/Hello.dir/Speaker.cpp.o' '-c' '-shared-libgcc' '-mtls-dialect=gnu' '-marm' '-march=armv6zk'
/Users/dro/Development/arm/arm-unknown-linux-gnueabi/bin/../libexec/gcc/arm-unknown-linux-gnueabi/8.3.0/cc1plus -quiet -v -v -iprefix /Users/dro/Development/arm/arm-unknown-linux-gnueabi/bin/../lib/gcc/arm-unknown-linux-gnueabi/8.3.0/ -isysroot /Users/dro/Development/arm/arm-unknown-linux-gnueabi/bin/../arm-unknown-linux-gnueabi/sysroot -MD CMakeFiles/Hello.dir/Speaker.cpp.d -MF CMakeFiles/Hello.dir/Speaker.cpp.o.d -MT Hello/CMakeFiles/Hello.dir/Speaker.cpp.o -D_GNU_SOURCE -isysroot /Users/dro/Development/arm/rpisysroot/rpisysroot/ /Users/dro/Development/arm/code/cmake-hello-world/Hello/Speaker.cpp -quiet -dumpbase Speaker.cpp -mcpu=arm1176jzf-s -mfpu=vfp -mfloat-abi=soft -mcpu=arm1176jzf-s -mfpu=vfp -mfloat-abi=soft -mtls-dialect=gnu -marm -march=armv6zk -auxbase-strip CMakeFiles/Hello.dir/Speaker.cpp.o -Wall -std=c++11 -std=c++11 -version -o /var/folders/s0/bp0mmft901q26dz9_qq44vdr0000gn/T//ccnjOjGr.s
GNU C++11 (crosstool-NG 1.24.0) version 8.3.0 (arm-unknown-linux-gnueabi)
compiled by GNU C version 4.2.1 Compatible Apple LLVM 9.1.0 (clang-902.0.39.2), GMP version 6.1.2, MPFR version 4.0.2, MPC version 1.1.0, isl version isl-0.20-GMP
/Users/dro/Development/arm/arm-unknown-linux-gnueabi/bin/../lib/gcc/arm-unknown-linux-gnueabi/8.3.0/../../../../arm-unknown-linux-gnueabi/include/c++/8.3.0
/Users/dro/Development/arm/arm-unknown-linux-gnueabi/bin/../lib/gcc/arm-unknown-linux-gnueabi/8.3.0/../../../../arm-unknown-linux-gnueabi/include/c++/8.3.0/arm-unknown-linux-gnueabi
/Users/dro/Development/arm/arm-unknown-linux-gnueabi/bin/../lib/gcc/arm-unknown-linux-gnueabi/8.3.0/../../../../arm-unknown-linux-gnueabi/include/c++/8.3.0/backward
/Users/dro/Development/arm/arm-unknown-linux-gnueabi/bin/../lib/gcc/arm-unknown-linux-gnueabi/8.3.0/include
/Users/dro/Development/arm/arm-unknown-linux-gnueabi/bin/../lib/gcc/arm-unknown-linux-gnueabi/8.3.0/include-fixed
/Users/dro/Development/arm/arm-unknown-linux-gnueabi/bin/../lib/gcc/arm-unknown-linux-gnueabi/8.3.0/../../../../arm-unknown-linux-gnueabi/include
/Users/dro/Development/arm/rpisysroot/rpisysroot/usr/include
End of search list.
GNU C++11 (crosstool-NG 1.24.0) version 8.3.0 (arm-unknown-linux-gnueabi)
compiled by GNU C version 4.2.1 Compatible Apple LLVM 9.1.0 (clang-902.0.39.2), GMP version 6.1.2, MPFR version 4.0.2, MPC version 1.1.0, isl version isl-0.20-GMP
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 404818f033b9b61c85c022357f071914
In file included from /Users/dro/Development/arm/rpisysroot/rpisysroot/usr/include/features.h:448,
from /Users/dro/Development/arm/rpisysroot/rpisysroot/usr/include/bits/libc-header-start.h:33,
from /Users/dro/Development/arm/rpisysroot/rpisysroot/usr/include/stdio.h:27,
from /Users/dro/Development/arm/code/cmake-hello-world/Hello/Speaker.h:1,
from /Users/dro/Development/arm/code/cmake-hello-world/Hello/Speaker.cpp:1:
**/Users/dro/Development/arm/rpisysroot/rpisysroot/usr/include/gnu/stubs.h:7:11: fatal error: gnu/stubs-soft.h: No such file or directory
Hi
i am trying to build using CMAKE and toolchain from your repo. Im having raspberry pi 1 and according to this page https://www.valvers.com/open-software/raspberry-pi/bare-metal-programming-in-c-part-1/, following flags I set: -march=armv6zk -mcpu=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard
Here is the ouptup of build process
Make Error at /Applications/CMake.app/Contents/share/cmake-3.23/Modules/CMakeTestCXXCompiler.cmake:62 (message): The C++ compiler
is not able to compile a simple test program.
It fails with the following output:
and my CMAKE toolchain file:
SET(CMAKE_SYSTEM_NAME Darwin) SET(CMAKE_SYSTEM_VERSION 1) SET(CMAKE_C_COMPILER /Users/dro/Development/arm/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi-gcc) SET(CMAKE_CXX_COMPILER /Users/dro/Development/arm/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi-g++ )
set(CMAKE_EXE_LINKER_FLAGS "--specs=nosys.specs " CACHE INTERNAL "")
set(CMAKE_VERBOSE_MAKEFILE TRUE) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=armv6zk -mcpu=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard -v -std=c++11 ") set(CMAKE_AR /Users/dro/Development/arm/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi-ar ) set(CMAKE_RANLIB /Users/dro/Development/arm/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi-ranlib ) SET(CMAKE_OSX_SYSROOT /Users/dro/Development/arm/rpisysroot/rpisysroot/) SET(CMAKE_FIND_ROOT_PATH /Users/dro/Development/arm/rpisysroot/rpisysroot/) SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) add_definitions(-Wall)
Any ideas?
EDit:
changing mfloat flag to: -mfloat-abi=soft gives another type of error during build:
dro@MacBook-Pro-Wojciech build % cmake -D CMAKE_TOOLCHAIN_FILE=/Users/dro/Development/arm/code/toolchainpi.cmake ../ CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake.
Update the VERSION argument value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.
-- The C compiler identification is GNU 8.3.0 -- The CXX compiler identification is GNU 8.3.0 -- Checking whether C compiler has -isysroot -- Checking whether C compiler has -isysroot - yes -- Checking whether C compiler supports OSX deployment target flag -- Checking whether C compiler supports OSX deployment target flag - no -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /Users/dro/Development/arm/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi-gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Checking whether CXX compiler has -isysroot -- Checking whether CXX compiler has -isysroot - yes -- Checking whether CXX compiler supports OSX deployment target flag -- Checking whether CXX compiler supports OSX deployment target flag - no -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /Users/dro/Development/arm/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi-g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Configuring done -- Generating done -- Build files have been written to: /Users/dro/Development/arm/code/cmake-hello-world/build dro@MacBook-Pro-Wojciech build % rm -rf CMakeFiles
dro@MacBook-Pro-Wojciech build % make /Applications/CMake.app/Contents/bin/cmake -S/Users/dro/Development/arm/code/cmake-hello-world -B/Users/dro/Development/arm/code/cmake-hello-world/build --check-build-system CMakeFiles/Makefile.cmake 0 /Applications/CMake.app/Contents/bin/cmake -E cmake_progress_start /Users/dro/Development/arm/code/cmake-hello-world/build/CMakeFiles /Users/dro/Development/arm/code/cmake-hello-world/build//CMakeFiles/progress.marks /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/Makefile2 all /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Hello/CMakeFiles/Hello.dir/build.make Hello/CMakeFiles/Hello.dir/depend cd /Users/dro/Development/arm/code/cmake-hello-world/build && /Applications/CMake.app/Contents/bin/cmake -E cmake_depends "Unix Makefiles" /Users/dro/Development/arm/code/cmake-hello-world /Users/dro/Development/arm/code/cmake-hello-world/Hello /Users/dro/Development/arm/code/cmake-hello-world/build /Users/dro/Development/arm/code/cmake-hello-world/build/Hello /Users/dro/Development/arm/code/cmake-hello-world/build/Hello/CMakeFiles/Hello.dir/DependInfo.cmake --color= /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Hello/CMakeFiles/Hello.dir/build.make Hello/CMakeFiles/Hello.dir/build [ 25%] Building CXX object Hello/CMakeFiles/Hello.dir/Speaker.cpp.o cd /Users/dro/Development/arm/code/cmake-hello-world/build/Hello && /Users/dro/Development/arm/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi-g++ -march=armv6zk -mcpu=arm1176jzf-s -mfpu=vfp -mfloat-abi=soft -v -std=c++11 -march=armv6zk -mcpu=arm1176jzf-s -mfpu=vfp -mfloat-abi=soft -v -std=c++11 -isysroot /Users/dro/Development/arm/rpisysroot/rpisysroot/ -Wall -Wall -MD -MT Hello/CMakeFiles/Hello.dir/Speaker.cpp.o -MF CMakeFiles/Hello.dir/Speaker.cpp.o.d -o CMakeFiles/Hello.dir/Speaker.cpp.o -c /Users/dro/Development/arm/code/cmake-hello-world/Hello/Speaker.cpp Using built-in specs. COLLECT_GCC=/Users/dro/Development/arm/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi-g++ Target: arm-unknown-linux-gnueabi Configured with: /Users/chris/Downloads/.build/arm-unknown-linux-gnueabi/src/gcc/configure --build=x86_64-build_apple-darwin18.6.0 --host=x86_64-build_apple-darwin18.6.0 --target=arm-unknown-linux-gnueabi --prefix=/Users/chris/x-tools/arm-unknown-linux-gnueabi --with-sysroot=/Users/chris/x-tools/arm-unknown-linux-gnueabi/arm-unknown-linux-gnueabi/sysroot --enable-languages=c,c++ --with-float=soft --with-pkgversion='crosstool-NG 1.24.0' --disable-sjlj-exceptions --enable-__cxa_atexit --disable-libmudflap --disable-libgomp --disable-libssp --disable-libquadmath --disable-libquadmath-support --disable-libsanitizer --disable-libmpx --with-gmp=/Users/chris/Downloads/.build/arm-unknown-linux-gnueabi/buildtools --with-mpfr=/Users/chris/Downloads/.build/arm-unknown-linux-gnueabi/buildtools --with-mpc=/Users/chris/Downloads/.build/arm-unknown-linux-gnueabi/buildtools --with-isl=/Users/chris/Downloads/.build/arm-unknown-linux-gnueabi/buildtools --enable-lto --enable-threads=posix --enable-target-optspace --enable-plugin --enable-gold --disable-nls --disable-multilib --with-local-prefix=/Users/chris/x-tools/arm-unknown-linux-gnueabi/arm-unknown-linux-gnueabi/sysroot --enable-long-long Thread model: posix gcc version 8.3.0 (crosstool-NG 1.24.0) COLLECT_GCC_OPTIONS= '-mcpu=arm1176jzf-s' '-mfpu=vfp' '-mfloat-abi=soft' '-v' '-std=c++11' '-mcpu=arm1176jzf-s' '-mfpu=vfp' '-mfloat-abi=soft' '-v' '-std=c++11' '-isysroot' '/Users/dro/Development/arm/rpisysroot/rpisysroot/' '-Wall' '-MD' '-MT' 'Hello/CMakeFiles/Hello.dir/Speaker.cpp.o' '-MF' 'CMakeFiles/Hello.dir/Speaker.cpp.o.d' '-o' 'CMakeFiles/Hello.dir/Speaker.cpp.o' '-c' '-shared-libgcc' '-mtls-dialect=gnu' '-marm' '-march=armv6zk' /Users/dro/Development/arm/arm-unknown-linux-gnueabi/bin/../libexec/gcc/arm-unknown-linux-gnueabi/8.3.0/cc1plus -quiet -v -v -iprefix /Users/dro/Development/arm/arm-unknown-linux-gnueabi/bin/../lib/gcc/arm-unknown-linux-gnueabi/8.3.0/ -isysroot /Users/dro/Development/arm/arm-unknown-linux-gnueabi/bin/../arm-unknown-linux-gnueabi/sysroot -MD CMakeFiles/Hello.dir/Speaker.cpp.d -MF CMakeFiles/Hello.dir/Speaker.cpp.o.d -MT Hello/CMakeFiles/Hello.dir/Speaker.cpp.o -D_GNU_SOURCE -isysroot /Users/dro/Development/arm/rpisysroot/rpisysroot/ /Users/dro/Development/arm/code/cmake-hello-world/Hello/Speaker.cpp -quiet -dumpbase Speaker.cpp -mcpu=arm1176jzf-s -mfpu=vfp -mfloat-abi=soft -mcpu=arm1176jzf-s -mfpu=vfp -mfloat-abi=soft -mtls-dialect=gnu -marm -march=armv6zk -auxbase-strip CMakeFiles/Hello.dir/Speaker.cpp.o -Wall -std=c++11 -std=c++11 -version -o /var/folders/s0/bp0mmft901q26dz9_qq44vdr0000gn/T//ccnjOjGr.s GNU C++11 (crosstool-NG 1.24.0) version 8.3.0 (arm-unknown-linux-gnueabi) compiled by GNU C version 4.2.1 Compatible Apple LLVM 9.1.0 (clang-902.0.39.2), GMP version 6.1.2, MPFR version 4.0.2, MPC version 1.1.0, isl version isl-0.20-GMP
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 ignoring duplicate directory "/Users/dro/Development/arm/arm-unknown-linux-gnueabi/bin/../lib/gcc/../../lib/gcc/arm-unknown-linux-gnueabi/8.3.0/../../../../arm-unknown-linux-gnueabi/include/c++/8.3.0" ignoring duplicate directory "/Users/dro/Development/arm/arm-unknown-linux-gnueabi/bin/../lib/gcc/../../lib/gcc/arm-unknown-linux-gnueabi/8.3.0/../../../../arm-unknown-linux-gnueabi/include/c++/8.3.0/arm-unknown-linux-gnueabi" ignoring duplicate directory "/Users/dro/Development/arm/arm-unknown-linux-gnueabi/bin/../lib/gcc/../../lib/gcc/arm-unknown-linux-gnueabi/8.3.0/../../../../arm-unknown-linux-gnueabi/include/c++/8.3.0/backward" ignoring duplicate directory "/Users/dro/Development/arm/arm-unknown-linux-gnueabi/bin/../lib/gcc/../../lib/gcc/arm-unknown-linux-gnueabi/8.3.0/include" ignoring nonexistent directory "/Users/dro/Development/arm/rpisysroot/rpisysroot/Users/chris/x-tools/arm-unknown-linux-gnueabi/arm-unknown-linux-gnueabi/sysroot/include" ignoring duplicate directory "/Users/dro/Development/arm/arm-unknown-linux-gnueabi/bin/../lib/gcc/../../lib/gcc/arm-unknown-linux-gnueabi/8.3.0/include-fixed" ignoring duplicate directory "/Users/dro/Development/arm/arm-unknown-linux-gnueabi/bin/../lib/gcc/../../lib/gcc/arm-unknown-linux-gnueabi/8.3.0/../../../../arm-unknown-linux-gnueabi/include"
include "..." search starts here:
include <...> search starts here:
/Users/dro/Development/arm/arm-unknown-linux-gnueabi/bin/../lib/gcc/arm-unknown-linux-gnueabi/8.3.0/../../../../arm-unknown-linux-gnueabi/include/c++/8.3.0 /Users/dro/Development/arm/arm-unknown-linux-gnueabi/bin/../lib/gcc/arm-unknown-linux-gnueabi/8.3.0/../../../../arm-unknown-linux-gnueabi/include/c++/8.3.0/arm-unknown-linux-gnueabi /Users/dro/Development/arm/arm-unknown-linux-gnueabi/bin/../lib/gcc/arm-unknown-linux-gnueabi/8.3.0/../../../../arm-unknown-linux-gnueabi/include/c++/8.3.0/backward /Users/dro/Development/arm/arm-unknown-linux-gnueabi/bin/../lib/gcc/arm-unknown-linux-gnueabi/8.3.0/include /Users/dro/Development/arm/arm-unknown-linux-gnueabi/bin/../lib/gcc/arm-unknown-linux-gnueabi/8.3.0/include-fixed /Users/dro/Development/arm/arm-unknown-linux-gnueabi/bin/../lib/gcc/arm-unknown-linux-gnueabi/8.3.0/../../../../arm-unknown-linux-gnueabi/include /Users/dro/Development/arm/rpisysroot/rpisysroot/usr/include End of search list. GNU C++11 (crosstool-NG 1.24.0) version 8.3.0 (arm-unknown-linux-gnueabi) compiled by GNU C version 4.2.1 Compatible Apple LLVM 9.1.0 (clang-902.0.39.2), GMP version 6.1.2, MPFR version 4.0.2, MPC version 1.1.0, isl version isl-0.20-GMP
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 Compiler executable checksum: 404818f033b9b61c85c022357f071914 In file included from /Users/dro/Development/arm/rpisysroot/rpisysroot/usr/include/features.h:448, from /Users/dro/Development/arm/rpisysroot/rpisysroot/usr/include/bits/libc-header-start.h:33, from /Users/dro/Development/arm/rpisysroot/rpisysroot/usr/include/stdio.h:27, from /Users/dro/Development/arm/code/cmake-hello-world/Hello/Speaker.h:1, from /Users/dro/Development/arm/code/cmake-hello-world/Hello/Speaker.cpp:1: **/Users/dro/Development/arm/rpisysroot/rpisysroot/usr/include/gnu/stubs.h:7:11: fatal error: gnu/stubs-soft.h: No such file or directory
include <gnu/stubs-soft.h>**
compilation terminated. make[2]: [Hello/CMakeFiles/Hello.dir/Speaker.cpp.o] Error 1 make[1]: [Hello/CMakeFiles/Hello.dir/all] Error 2 make: *** [all] Error 2