Datasheet

“main” (Installation and Administration) 2004/6/25 13:29 page 199 #225
i
i
i
i
i
i
i
i
7
32-Bit and 64-Bit Applications in a 64-Bit System Environment
All 64-bit libraries and object files are located in directories called lib64/.
The 64-bit object files you would normally expect to find under /lib/,
/usr/lib/, and /usr/X11R6/lib/ are now found under /lib64/,
/usr/lib64/, and /usr/X11R6/lib64/. This means that there is space
for the 32-bit libraries under /lib/, /usr/lib/ and /usr/X11R6/lib/,
so the file name for both versions can remain unchanged.
No subdirectories of the object directories whose data content does not
depend on the word size are moved. For example, the X11 fonts are still
found in the usual location under /usr/X11R6/lib/X11/fonts. This
scheme conforms to the LSB (Linux Standards Base) and the FHS (File Sys-
tem Hierarchy Standard).
I IPF
The 64-bit libraries for both ipf and the 64-bit alpha platform are located
in the standard lib/ directories. In such cases there is neither a lib64/
directory nor a lib32/ directory. Instead, ipf executes the 32-bit x86 code
under an emulation. A set of basic libraries is installed in /emul/ia32-
linux/lib/ and /emul/ia32-linux/usr/X11R6/lib/. J
7.2 Software Development
All 64-bit architectures support the development of 64-bit objects. How-
ever, the level of support for 32-bit compiling depends on the architecture.
These are the various implementation options for the tool chain from GCC
(GNU Compiler Collection) and Binutils, which include the assembler as
and the linker ld:
Biarch Compiler Both 32-bit and 64-bit objects can be generated with a
biarch development tool chain. The compiling of 64-bit objects is the
default on almost all platforms. 32-bit objects can be generated if spe-
cial flags are used. This special flag is -m32 for GCC (-m31 for s390x).
The flags for the binutils are architecture-dependent, but GCC trans-
fers the correct flags to linkers and assemblers. A biarch development
tool chain currently exists for sparc64 (supports sparc and sparc64
development), for amd64 (supports development for x86 and amd64
instructions), for s390x, and for ppc64. 32-bit objects are normally cre-
ated on the ppc64 platform. The -m64 flag must be used to generate
64-bit objects.
No Support SUSE does not support the direct development of 32-bit soft-
ware on all platforms. To develop applications for x86 under ipf, use
the corresponding 32-bit version of SUSE LINUX Enterprise Server.
199SUSE LINUX Enterprise Server