Hi,
I use C::B under Windows, Kubuntu and now also Raspbian. I am able to run C::B and compile on the Raspberry PI, but the process is extremely slow. So I would like to explore how to do cross compilation from either Kubuntu or Windows.
My projects already include build targets using the gcc compiler, essentially my projects can be copied from linux and to the PI and they work fine. But if I want to cross-compile from linux , how can I tell C::B to use the cross-compiler rather than the local gcc for linux ? Essentually, I would like to test and debug under linux, and when things work simply switch to the cross-compilation compiler and build for the Raspberry PI, using the same project and build target. Can this be done in a simple way?
A clever solution would maybe be to use global variables to define what "gcc" pointed to, but is something like that supported?
Another option is perhaps cross compiling to the PI from Windows, as I am not using the gcc compiler on windows, but it feels a bit odd to have to do it.
Any tips? I have checked the wiki, but not found clear answers.