On Tue, May 29, 2018 at 08:33:12PM -0500, Rob Browning wrote:
> Also, I've rarely cross-builded via dpkg-buildpackage.  For this to
> work, will I need armhf or whatever as a dpkg architecture, and then to
> perhaps apt install gcc:armhf, libreadline-dev:armhf, etc.?

Yes, you do. It's not gcc:armhf, but gcc-arm-linux-gnueabihf.
dpkg-buildpackage will run dpkg-checkbuilddeps and complain if anything
is missing except for crossbuild-essential-armhf which is assumed
present and libc-dev:armhf and libstdc++-dev:armhf as
crossbuild-essential-armhf presently lacks the dependencies (#815172).

I recommend using sbuild or pbuilder as bothe of these handle most of
the complexity themselves. If there is any other build wrapper, that
doesn't support cross compilation, please tell.

Helmut

Reply via email to