Didier Messages: 731 Registered: November 2008 Location: France
Contributor
Hello picoprof,
cross compiling works fine with IDE and raspberry (I did it on linux with GCC not on windows).
You can select any compiler available on you're install, all you have to do is :
* Create you're own build method
* Select compiler type used in build method
* set paths used for bin, lib and includes
The most complicated part is:
* to have the righ compiler ( I used arm-linux-gnueabihf for my RPI2 )
* get the correct libs and includes corresponding to you're raspberry install :
for this step I extracted everything directly from the SD card of the PI (I have a doc in french that explains how to do it, I can PM it to you if you wan't)
This approach has the big advantage of being simple : add all you need to you're PI using YUM or other package manager and retreive the config for cross compilation