Re: Creating debs using a cross-build envronment?
On Thu, 2012-02-23 at 13:03 +0000, Neil Williams wrote:
> On Thu, 23 Feb 2012 12:03:24 +0100
> > a) I just asked about creating target .debs using the cross built tools
> > instead of just binaries.
>
> You don't need cross-build tools for that. Your doing a native build,
> so just use the normal Debian packaging tools (dpkg-buildpackage) and
> build for hurd-i386.
I'm doing that natively for most packages already. Some packages are
problematic though, so maybe a cross-build can be of use.
> > b) And to enable support for gnat in GNU/Hurd, either as a deb or
> > binaries created by the cross-build environment and copied to the target
> > for native .deb builds there.
>
> Forget about linux-i386/hurd-i386 cross-building and just change the
> package in such a way that it can build a minimal .deb which provides
> enough functionality without the complicating dependencies, such that
> you can then build the next stage. Cross-building is not the answer
> here and even if you are convinced it is, Emdebian cannot provide the
> toolchains to do it.
I think cross-building is the _only_ answer here since gnat needs gnat,
see my previous mail.
Reply to: