@mark03: If you check the rest of the file, most of the stuff I build uses autotools, so once your cross toolchain is in your path, passing --host=arm-kindle-linux-gnueabi to configure (and apprpriate C/CXX/LDFLAGS in your env) should be enough (provided the project is using autootools correctly, and in a cross-compile friendly way, which might not always be the case ;D).
The only thing that might cause some trouble in my config is that I'm running a somewhat way more recent version of glibc/gcc than the Kindle system, and there's a few cases where I had to tweak things a bit to avoid pulling newer symbols (readelf is you friend to check that kind of stuff in your binaries).
You might want to try a cross toolchain based on glibc 2.5 if you encounter too much issues of this kind.
And, yeah, there's a whole bunch of different tools that can be used, some primarily aimed at bootstrapping embedded systems. I'm using crosstool-ng because it's 'simpler', its goal being just to provide a toolchain, not help bootstrap a full system, and I'm somewhat used to do things manually once I have a reliable toolchain setup (being a gentoo user and all ;p).
Last edited by NiLuJe; 06-17-2011 at 08:42 PM.
|