From 26226143aea1acc2fb99085a30962431830b9eb1 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sun, 21 Jun 2020 11:02:30 -0400 Subject: dev/multiarch: Add FS hierarchy implementation --- diff --git a/dev/multiarch.mdwn b/dev/multiarch.mdwn index c9aa90b..d869a7d 100644 --- a/dev/multiarch.mdwn +++ b/dev/multiarch.mdwn @@ -157,3 +157,24 @@ dependency is available in the downloaded feed lists, and the dependency is not architecture-qualified. The language extension dependency in turn depends on a language interpreter, which is also not architecture-qualified. The native architecture of both will be installed. + + +Implementation +============== + +File System Hierarchy +--------------------- + +As explained above, to be coninstallable, library packages must install all of +their files in architecture-qualified locations. Debian and Ubuntu install +shared object files in `/usr/lib/` or `/lib/`, where +`` is a [GNU system type][ac-systemtype]. Since multiple ProteanOS +architectures may share the same GNU system type, ProteanOS architecture names +are instead used in such library directories. + +ProteanOS's GNU Binutils and GCC packages have been patched and configured to +use multiarch library paths since their initial releases in 2014. opkhelper has +used multiarch library paths when configuring packages since version 3.0.0-beta1 +released in 2012. + +[ac-systemtype]: https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/html_node/System-Type.html -- cgit v0.9.1