From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <46F6B6E0.1040506@altlinux.com> Date: Sun, 23 Sep 2007 22:56:32 +0400 From: Anton Farygin User-Agent: Thunderbird 2.0.0.6 (X11/20070804) MIME-Version: 1.0 To: ALT Linux Team development discussions References: <20070923135245.GQ5297@solemn.turbinal> <20070923144046.GC29083@basalt.office.altlinux.org> <20070923150827.GR5297@solemn.turbinal> <20070923151832.GT5297@solemn.turbinal> <20070923153933.GA31974@basalt.office.altlinux.org> <20070923162443.GB5385@hell.fortress> <777d80610709230927o639ec5a7w9131e26c46e4c57e@mail.gmail.com> <46F6ABC5.7000204@altlinux.com> <20070923182704.GB3376@basalt.office.altlinux.org> <46F6B205.1090808@altlinux.com> <20070923184302.GZ5297@solemn.turbinal> In-Reply-To: <20070923184302.GZ5297@solemn.turbinal> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [devel] biarch X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.9 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Sep 2007 18:56:32 -0000 Archived-At: List-Archive: List-Post: 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.