How to cross compile Microwindows for ARM arch
Hello! Have some problem with cross-compile of Microwindows.
Here are my steps: 0. Download cross-compile toolchain Code:
wget http://www.codesourcery.com/sgpp/lite/arm/portal/package5383/public/arm-none-linux-gnueabi/arm-2009q3-67-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2 Code:
Code:
Code:
cd microwindows-0.92/src Code:
ARCH = LINUX-ARM After then I have next messages: Code:
cc1: warning: include location "/usr/include/" is unsafe for cross-compilation |
What's in the cross compile toolchain?
You need arm kernel headers, a libc, and a compiler. The kernel headers are includes in /usr/include. It seems to be reading your x86 ones. Then try CC=/path/to/arm/compiler ./configure --includedir=/opt/toolchain/include --libdir=/opt/toolchain/lib (guessing wildly here) to point the configure at your arm ones. Better getting a guide on this. But you get the idea - the syustem is going to reach for the x86 stuff automatically. |
And :
Quote:
All dependencies for Microwindows must be cross compiled for arm to e.g. /opt/cross**, before you start the Microwindows build. - |
All times are GMT -5. The time now is 04:37 PM. |