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

Bug#111839: PROPOSAL]: packages should be cross buildable

On Sun, Sep 09, 2001 at 11:27:36PM -0700, David Kimdon wrote:
> +              <example>
> +# commands and/or variables for cross build
> +else
> +# commands and/or variables for native build
> +endif
> +	      </example>

This is half correct :)  I suggest to just refer to dpkg-architecture(1), as
the technical details may change.  In particular, you should not use the
variables without initializing them

DEB_BUILD_GNU_TYPE := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)


In general, I support a proposal that encourages cross compilation.  I am
not sure about the wording, and how much technical details it should
contain.  (But I can't make a better suggestion right now).


`Rhubarb is no Egyptian god.' Debian http://www.debian.org brinkmd@debian.org
Marcus Brinkmann              GNU    http://www.gnu.org    marcus@gnu.org

Reply to: