-static-libstdc++
needs to be removed in the case of the GCC 4.3.3 toolchain.
del /Q *.o *.a *.d example
/path/to/toolchain/bin/cs-make.exe
-static-libstdc++
flag; the -rpath
argument will add a new search path for shared libraries on the brick. EDIT: the content is -Wl,-rpath,/home/root/lms2012/prjs
copy <path to gcc4.3.3>/arm-none-linux-gnueabi/libc/usr/lib/libstdc++.so.6 libcpp.so
<path to gcc4.3.3>/bin/arm-none-linux-gnueabi-strip libcpp.so
ev3duder up libcpp.so /home/root/lms2012/prjs/libcpp.so
ev3duder exec "mv /home/root/lms2012/prjs/libcpp.so /home/root/lms2012/prjs/libstdc++.so.6"
-nostdinc
or -nostdinc++
?
-Wl,-rpath,/home/root/lms2012/prjs/BrkProg_SAVE
as now the library is in a subdirectory