I use VisualGDB to crosscompile for the Raspberry. One of the reasons is obviously to speed up the compilation. When I compile my project, I notice that my CPU usage is only between 35-45% and each job seems to be startet consecutivly, like this:
1> C:/SysGCC/raspberry/bin/arm-linux-gnueabihf-g++.exe -c -pipe -Wno-psabi -std=c++11 -w -g -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_WEBKIT -DQT_GUI_LIB -DQT_CORE_LIB -Ic:/sysgcc/raspberry/arm-linux-gnueabihf/sysroot/usr/share/qt4/mkspecs/arm-linux-gnueabihf -I. -Ic:/sysgcc/raspberry/arm-linux-gnueabihf/sysroot/usr/include/qt4/QtCore -Ic:/sysgcc/raspberry/arm-linux-gnueabihf/sysroot/usr/include/qt4/QtGui -Ic:/sysgcc/raspberry/arm-linux-gnueabihf/sysroot/usr/include/qt4 -Ic:/SysGCC/raspberry/arm-linux-gnueabihf/sysroot/usr/local/include -IDebug -IDebug -o Debug/MemberData.o Base/MemberData.cpp
1> C:/SysGCC/raspberry/bin/arm-linux-gnueabihf-g++.exe -c -pipe -Wno-psabi -std=c++11 -w -g -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_WEBKIT -DQT_GUI_LIB -DQT_CORE_LIB -Ic:/sysgcc/raspberry/arm-linux-gnueabihf/sysroot/usr/share/qt4/mkspecs/arm-linux-gnueabihf -I. -Ic:/sysgcc/raspberry/arm-linux-gnueabihf/sysroot/usr/include/qt4/QtCore -Ic:/sysgcc/raspberry/arm-linux-gnueabihf/sysroot/usr/include/qt4/QtGui -Ic:/sysgcc/raspberry/arm-linux-gnueabihf/sysroot/usr/include/qt4 -Ic:/SysGCC/raspberry/arm-linux-gnueabihf/sysroot/usr/local/include -IDebug -IDebug -o Debug/Message.o Base/Message.cpp
compiling under a SDD the bottleneck here is probably not the hdd, but the insufficient use of all the cores. under VS i could normally add the -MPXX flag or with make the ‘-j’ flag. how can i speed it up using virtualGDB
thanks