Changes

Ubuntu 16.04 LTS Toolchain

27 bytes added, 10:23, 25 June 2018
no edit summary
<span id="line-2-1" class="anchor"></span>dpkg -r package:architecture</pre>
===Installing cross-dependencies===
To install build-dependencies of a package before cross-building:
<pre>apt-get build-dep -a </pre>
This only works when all the 'tools' packages depended-on are marked <tt>Multi-Arch: foreign</tt>, any depended-on libraries which are also needed on the BUILD machine, and -dev packages which are needed for both HOST and BUILD architectures are made co-installable ('Multi-Arch: same' with arch-qualified paths), and any exceptions to the default rules are marked <tt>package:any</tt> or <tt>package:native</tt> in the package source. This process is ongoing.
When it doesn't work you can often get the dependencies installed with a manual apt-get line: e.g instead of
<pre>apt-get build-dep -a armhf acl</pre>
<pre>apt-get install autoconf automake debhelper gettext libtool libattr1-dev:armhf</pre>
[[Toolchain||Toolchain]][[Ubuntu||Ubuntu]]