two simple questions:
how do i call eclipse cdt generated make file with all the environment variable ? for example, my make file is generated at location PROJECT_FOLDER_ROOT/Debug/makefile , and if i try to call it:
khan@khan-P55A-UD3P:~/git/gcc/libGCC/Debug$ make -k -j5 all
Building file: ../src/utility/Versioning.cpp Invoking: Cross G++ Compiler mipsel-openwrt-linux-g++ -I/home/khan/carambola.pristine/staging_dir/target-mipsel_r2_uClibc-0.9.33.2/usr/include -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"src/utility/Versioning.d" -MT"src/utility/Versioning.d" -o "src/utility/Versioning.o" "../src/utility/Versioning.cpp" /bin/sh: 1: mipsel-openwrt-linux-g++: not found make: * [src/utility/Versioning.o] Error 127 make: Target `all' not remade because of errors.
it is looking for mipsel-openwrt-linux-g++
, which is an environment variable for the eclipse build system . how to include it in the command line usage?
second question: is there any way to automatically increment build number in CDT ? google search was not helpful in this regard.