The reason why "dpkg --print-architecture" is better than "dpkg-architecture -qDEB_HOST_ARCH" is that dpkg is a standard part of a Debian system, while dpkg-dev brings huge dependencies. Other than that, they are functionally equivalent - they use the Dpkg::Arch Perl module to determine the architecture, but dpkg-architecture calls it at runtime, whereas in dpkg it's called in the configure script and the atchitecture is compiled in as a constant.
Regards, ~~helix84 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org