On Mon, Apr 17, 2006 at 05:03:14PM +0200, peter.kourzanov@xs4all.nl wrote:
Somehow, I miss an improtant step of getting Debian packages
cross-compiled on Debian. Current state of affairs is that they
either:
1. require patching to cross-compile cleanly (--host, --build etc).
that's the way I am currently exploring for *-uclibc, arm-eabi
etc.
That's the way I also currently prepare packages.
2. require a solution like scratchbox to create an emulation
environment for the --host target on the --build host
in this case, scratchbox would need to be in Debian I think
As Nikita explained to me, there is a big difference in the HOST
and BUILD environments: compiled binaries won't run if they are
cross compiled. So there will always be packages which need to
compile some parts for the HOST and some part for the BUILD
environment.