summaryrefslogtreecommitdiffstats
path: root/dev/releases/1/multiarch.mdwn
blob: 4da94374820443c78d597f5d5ae3759531fbfbce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
[[!meta title="Release Series 1 Goal: Multiarch Library and Include Directories"]]

A goal for [[release_1.0|dev/releases/1]] is partial multiarch support.

See also the [[multiarch_design_details|dev/multiarch/design]].


Scope
=====

It should be possible to manually install development packages of specific
architectures to facilitate cross building of packages.  All packages that
provide architecture-dependent libraries and header files should be
coinstallable, so that no major changes need to be made to file locations to
complete the multiarch implementation.  Note that coinstallation support in the
package manager is not a goal for this release series.

This means that:

  * A file system hierarchy with architecture-specific directories for libraries
    and header files should be designed and documented in the Packaging Policy,
  * Architecture-dependent libraries and header files provided by packages that
    are to be coinstallable should be installed in architecture-specific
    locations,
  * To the extent possible and reasonable, architecture-independent files should
    not be provided by packages that are to be coinstallable,
  * Relevant toolchain packages should be configured and/or patched to use
    architecture-specific library and include paths,

Not included in this release goal are:

  * Architecture-specific directories for executables,
  * Coinstallability of packages providing executable files,
  * Support in opkg for installing packages built for foreign architectures,
  * Control information to document package coinstallability and
    inter-architecture dependency satisfaction, and
  * Handling of architecture-independent files provided by coinstallable
    architecture-dependent packages or other coinstallability considerations in
    package management.