[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian cross infrastructure maintenance proposal

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

Another way me be to emulate the HOST environment. For example,
for w32 cross compiling you would need "wine" or similar, but
I don't think this is the way to go. It's much more complicated
than simply to differ between HOST and BUILD architecture.



Volker Grabsch
NotJustHosting GbR

Reply to: