I'm using scratchbox 2, the maemo development cross-compilation environment. When compiling code for the ARM target, I think scratchbox 2 is using the native ARM gcc compiler, which runs very slow on my x86 machine.
I think it should be using an ARM cross-compiler, compiled for x86, that runs much faster.
Sorry for the lack of details for now, but is there any way I can fix this?