To enable
smooth migration from PA to IPF, both PA and IPF locale
libraries and iconv methods need to exist on an Itanium-based system.
Directory
Structure Changes |
 |
The current directory
structure on 64-bit PA systems is:
 |
/usr/lib/nls/loc/locales.1 # PA32 versioned 10.20 locales /usr/lib/nls/loc/locales.2 # PA32 versioned 11.0 locales /usr/lib/nls/loc/locales # Link to /usr/lib/nls/loc/locales.2 /usr/lib/nls/loc/methods.1 # PA32 versioned 10.20 locale method libraries /usr/lib/nls/loc/methods.2 # PA32 versioned 11.0 locale method libraries /usr/lib/nls/loc/methods # Link to /usr/lib/nls/loc/methods.2 /usr/lib/nls/iconv/methods.1 # PA32 versioned 10.20 iconv method libraries /usr/lib/nls/iconv/methods.2 # PA32 versioned 11.0 iconv method libraries /usr/lib/nls/iconv/methods # Link to /usr/lib/nls/iconv/methods.2 /usr/lib/nls/loc/pa20_64/locales.2 # PA64 locales /usr/lib/nls/loc/pa20_64/locales # Link to /usr/lib/nls/loc/pa20_64/locales.2 /usr/lib/nls/loc/pa20_64/methods.2 # PA64 locale method libraries /usr/lib/nls/loc/pa20_64/methods # Link to /usr/lib/nls/loc/pa20_64/methods.2 /usr/lib/nls/iconv/pa20_64/methods.2 # PA64 iconv method libraries /usr/lib/nls/iconv/pa20_64/methods # Link to /usr/lib/nls/iconv/pa20_64/methods.2 |
 |
New directories have been created for 32-bit and 64-bit IPF locale
libraries, that co-exist with PA libraries. The new directories
are:
 |
/usr/lib/nls/loc/hpux32/locales.1 # IA-64 native 32 bit locales /usr/lib/nls/loc/hpux32/locales # Link to /usr/lib/nls/loc/hpux32/locales.1 /usr/lib/nls/loc/hpux32/methods.1 # IA-64 native 32 bit method libraries /usr/lib/nls/loc/hpux32/methods # Link to /usr/lib/nls/loc/hpux32/methods.1 /usr/lib/nls/iconv/hpux32/methods.1 # IA-64 native 32 bit iconv method libraries /usr/lib/nls/iconv/hpux32/methods # Link to /usr/lib/nls/iconv/hpux32/methods.1 /usr/lib/nls/loc/hpux64/locales.1 # IA-64 native 64 bit locales /usr/lib/nls/loc/hpux64/locales # Link to /usr/lib/nls/loc/hpux64/locales.1 /usr/lib/nls/loc/hpux64/methods.1 # IA-64 native 64 bit method libraries /usr/lib/nls/loc/hpux64/methods # Link to /usr/lib/nls/loc/hpux64/methods.1 /usr/lib/nls/iconv/hpux64/methods.1 # IA-64 native 64 bit iconv method libraries /usr/lib/nls/iconv/hpux64/methods # Link to /usr/lib/nls/iconv/hpux64/methods.1 |
Changes
to the locale Command |
 |
Locales are listed according to the underlying
processor type if the a option of
the locale command is specified. The a option
is used as follows:
- a
Display 32-bit IPF locales for 32-bit and
64-bit systems
- a 32
Display 32-bit IPF locales for 32-bit and
64-bit systems
- a 64
Display only 64-bit IPF locales on a 64-bit system
- pa32
Display 32-bit PA locale libraries in /usr/lib/nls/loc/locales.2
- pa64
Display 64-bit PA locale libraries in /usr/lib/nls/loc/pa20_64/locales.2
A new option, A, lists all
the locale libraries regardless of the flavors and versions. This
list includes locales in these directories:
/usr/lib/nls/loc/locales.2
/usr/lib/nls/loc/pa20_64/locales.2
/usr/lib/nls/loc/hpux32/locales.1
/usr/lib/nls/loc/hpux64/locales.1
Changes
to localedef Command |
 |
Beginning
in 11.0, localedef builds both 32-bit and 64-bit locale libraries on 32-bit
and 64-bit systems for PA. On Itanium-based systems, both 32-bit
and 64-bit libraries are built for IA only. The generated IA locales are
installed as described in “Directory
Structure Changes”.
Compatibility |
 |
The default behavior of the locale command on IPF systems lists IA locales instead
of PA locales. PA applications that list PA locales will see different
results on IPF and PA systems.
The localedef command is not able to generate PA locales on an Itanium-based
system. If PA locales are needed, build them on a PA system and
move them to the Itanium-based system.