[devel] biarch
Anton Farygin
=?iso-8859-1?q?rider_=CE=C1_altlinux=2Ecom?=
Вс Сен 23 22:56:32 MSD 2007
Alexey Tourbin пишет:
> On Sun, Sep 23, 2007 at 10:35:49PM +0400, Anton Farygin wrote:
>> на мой взгляд, можно посмотреть как сделан biarch в SuSE - судя по всему
>> это всех устраивает.
>
> Куда посмотреть, как сделано в SuSE?
Хорошего описания я не нашёл, к сожалению ;(
вот всё что есть на сайте:
4.1. Biarch Systems
The directories like /usr/lib64 and /usr/X11R6/lib64 are used next to
the usual /usr/lib and /usr/X11R6/lib directories on biarch systems.
This is because two variants of the same libraries must coexist on such
systems to allow running both 32-bit and 64-bit applications in
parallel. The 64-bit libraries are installed in lib64 directories and
32-bit libraries in the lib directories. The macros
[[SUSE_Package_Conventions/RPM_Macros#spc_rm_lib %_lib] and
[spc_rpm_macros.html#spc_rm_libdir %_libdir] do this.
Special packages are created for the biarch systems that include only
the 32-bit libraries. Any other files are not needed because these
libraries can use architecture independent files from the 64-bit
packages. They are even able to execute 64-bit helper binaries.
Therefore, these are shared as well and are installed into lib on all
architectures instead (and not %_lib). See the part about --libexecdir
in the following section.
Видимо всё остальное надо смотреть в пакетах:
http://ftp.opensuse.org/pub/opensuse/distribution/SL-OSS-factory/inst-source/suse/x86_64/
В частности там лежит пачка пакетов содержащих в имени 32bit.
Подробная информация о списке рассылки Devel