
18.3 Software Compilation on Biarch
Platforms
To develop binaries for the other architecture on a biarch architecture, the respective
libraries for the second architecture must additionally be installed. These packages are
called
rpmname-32bit
or
rpmname-x86
(for ia64) if the second architecture is a
32-bit architecture or
rpmname-64bit
if the second architecture is a 64-bit architec-
ture. You also need the respective headers and libraries from the
rpmname-devel
packages and the development libraries for the second architecture from
rpmname-devel-32bit
or
rpmname-devel-64bit
.
For example, to compile a program that uses
libaio
on a system whose second archi-
tecture is a 32-bit architecture (x86_64 or s390x), you need the following RPMs:
libaio-32bit
32-bit runtime package
libaio-devel-32bit
Headers and libraries for 32-bit development
libaio
64-bit runtime package
libaio-devel
64-bit development headers and libraries
Most open source programs use an
autoconf
-based program configuration. To use
autoconf
for configuring a program for the second architecture, overwrite the normal
compiler and linker settings of
autoconf
by running the
configure
script with
additional environment variables.
The following example refers to an x86_64 system with x86 as the second architecture.
Examples for s390x with s390 as the second architecture or ppc64 with ppc as the second
architecture would be similar. This example does not apply to ia64 where you do not
build 32-bit packages.
368
Installation and Administration
Содержание LINUX ENTERPRISE SERVER 10 - INSTALLATION AND ADMINISTRATION 11-05-2007
Страница 1: ...SUSE Linux Enterprise Server www novell com 10 May 11 2007 Installation and Administration...
Страница 14: ......
Страница 19: ...Part I Deployment...
Страница 20: ......
Страница 60: ......
Страница 128: ......
Страница 243: ...Part II Administration...
Страница 244: ......
Страница 274: ......
Страница 312: ......
Страница 348: ......
Страница 380: ......
Страница 381: ...Part III System...
Страница 382: ......
Страница 438: ......
Страница 452: ......
Страница 478: ......
Страница 486: ......
Страница 498: ......
Страница 512: ......
Страница 558: ......
Страница 559: ...Part IV Services...
Страница 560: ......
Страница 652: ......
Страница 670: ......
Страница 742: ......
Страница 754: ......
Страница 796: ......
Страница 817: ...Part V Security...
Страница 818: ......
Страница 858: ......
Страница 886: ......
Страница 910: ......
Страница 911: ...Part VI Troubleshooting...
Страница 912: ......
Страница 924: ......