On Sun, Sep 09, 2001 at 11:27:36PM -0700, David Kimdon wrote:
> +              <example>
> +ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
> +# 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)

etc

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).

Thanks,
Marcus

-- 
`Rhubarb is no Egyptian god.' Debian http://www.debian.org [EMAIL PROTECTED]
Marcus Brinkmann              GNU    http://www.gnu.org    [EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.marcus-brinkmann.de

Reply via email to