|
19.
|
|
|
<command>apt-cross</command> provides apt functionality for getting, building and installing libraries and header files for cross-compiling using <command>dpkg-cross</command>. <command>apt-cross</command> <option>-i</option> will search for and download missing dependencies of the requested package before building and installing the requested package and dependencies using <command>dpkg-cross</command> and <command>dpkg -i</command> (sudo required).
|
|
|
type: Content of: <book><chapter><refentry><refsect1><para>
|
|
|
|
(no translation yet)
|
|
|
|
Located in
doc/apt-cross.1.xml:241
|
|
20.
|
|
|
<command>apt-cross</command> is intended to make it easier to locate, download, install and update cross-built libraries, directly from the Debian archives.
|
|
|
type: Content of: <book><chapter><refentry><refsect1><para>
|
|
|
|
(no translation yet)
|
|
|
|
Located in
doc/apt-cross.1.xml:249
|
|
21.
|
|
|
<command>apt-cross</command> is not intended to handle applications or <userinput>Architecture: all</userinput> packages like <filename>foo-common</filename> or <filename>libfoo-common</filename>. <command>apt-cross</command> can download the cross-compiling version of those packages but does not build or install them - this can be done with <command>dpkg-cross</command> <option>-A</option> and <command>dpkg</command> <option>-i</option> if necessary. Note that not all such packages can be installed in that way.
|
|
|
type: Content of: <book><chapter><refentry><refsect1><para>
|
|
|
|
(no translation yet)
|
|
|
|
Located in
doc/apt-cross.1.xml:253
|
|
22.
|
|
|
Architecture-independent packages do not need to be converted, so <command>apt-cross</command> omits all such packages from the dependency calculations and ensures that <command>dpkg-cross</command> also drops these packages from the dependencies of the generated package. One exception is that <command>apt-cross</command> will process development packages (-dev) that are Architecture: all.
|
|
|
type: Content of: <book><chapter><refentry><refsect1><para>
|
|
|
|
(no translation yet)
|
|
|
|
Located in
doc/apt-cross.1.xml:262
|
|
23.
|
|
|
By default, <command>apt-cross</command> uses <filename>/etc/apt/sources.list</filename> and <filename>/etc/apt/sources.list.d/*</filename> to find the latest debian package file for the architecture specified (default is the <command>dpkg-cross</command> default) and in the suite specified (default is unstable). Alternatively, specify a different mirror. Downloaded files can be passed directly to dpkg-cross using the <option>-b</option> or <option>-i</option> commands to apt-cross. If the local file is missing or out of date, a new one will be downloaded automatically.
|
|
|
type: Content of: <book><chapter><refentry><refsect1><para>
|
|
|
|
(no translation yet)
|
|
|
|
Located in
doc/apt-cross.1.xml:269
|
|
24.
|
|
|
If the <command>apt-cross</command> cache for the specified suite and architecture is older than 24hours, it will be updated automatically. If the cache needs to be updated more frequently or if the cache becomes corrupted, use <option>-u</option>|<option>--update</option>.
|
|
|
type: Content of: <book><chapter><refentry><refsect1><para>
|
|
|
|
(no translation yet)
|
|
|
|
Located in
doc/apt-cross.1.xml:278
|
|
25.
|
|
|
APT-CROSS AND CROSS-COMPILERS
|
|
|
type: Content of: <book><chapter><refentry><refsect1><refsect2><title>
|
|
|
|
(no translation yet)
|
|
|
|
Located in
doc/apt-cross.1.xml:284
|
|
26.
|
|
|
<command>apt-cross</command> does have limitations and cannot replicate all behaviour associated with <command>apt</command> itself. In particular, <command>apt-cross</command> cannot provide, build, install or download a cross-compiler. Certain parts of the process to build a cross-compiling toolchain do require <command>apt-cross</command> but you must obtain a suitable set of packages from somewhere else or build the toolchain yourself. See the <filename>emdebian-tools</filename> package for assistance with cross-compilers and cross-building toolchains.
|
|
|
type: Content of: <book><chapter><refentry><refsect1><refsect2><para>
|
|
|
|
(no translation yet)
|
|
|
|
Located in
doc/apt-cross.1.xml:285
|
|
27.
|
|
|
COMMANDS
|
|
|
type: Content of: <book><chapter><refentry><refsect1><title>
|
|
|
|
(no translation yet)
|
|
|
|
Located in
doc/apt-cross.1.xml:297
|
|
28.
|
|
|
<option>--g</option>|<option>--get</option> <packages...>
|
|
|
type: Content of: <book><chapter><refentry><refsect1><variablelist><varlistentry><term>
|
|
|
|
(no translation yet)
|
|
|
|
Located in
doc/apt-cross.1.xml:300
|