Re: cross compilation problems
Steve Bowman <firstname.lastname@example.org> wrote:
>On Wed, Oct 25, 2000 at 12:02:50AM -0500, Daniel E . Baumann wrote:
>> I just installed the debian package. What else needs to be done?
>Well, since I haven't done it yet, I'd have to guess. First of all,
>there are two ways to build, with or without the debian/rules makefile.
>With it, a native build looks like:
> dpkg-buildpackage -uc -us
>and from comments in an unrelated message, I gather a cross-build would
> dpkg-buildpackage -uc -us -ahurd-i386
>but I don't know if that takes care of everything for you. That is, do
>you also need to set some env such as CC=i386-gnu-gcc or MIG=i386-gnu-mig?
I've been using this, with the gcc-i386-gnu, mig-i386-gnu, and
devscripts packages installed:
PATH=/usr/i386-gnu/bin:$PATH debuild -ePATH
This seems to wrap all the necessary tools correctly.
Colin Watson [email@example.com]