Jump to content
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
HP.com home

Transition Impacts

Tru64 UNIX Software Transition Kit


» HP STK home
» Home
» Overview
» Tools
» Documentation
» Transition impacts
» Identifier types
» Impact list
» Porting to HP-UX
» Glossary
» Help
» Send us feedback
Site maps
» Tru64 UNIX STK
Content starts here

critical impact:

uil - use uil64 for 64-bit applications (CrCh323)

64 Impacts

Problem description

HP-UX has two versions of the UIL compiler: uil for 32-bit applications and uil64 for 64-bit applications.

User Interface Language (UIL) is used by some Motif applications to specify their user interface. The UIL compiler compiles a UIL source file into a UID binary file, which the application then accesses at runtime through the Motif Resource Manager (Mrm) library.

UID files are architecture-dependent. A 32-bit application cannot use a 64-bit UID file, and a 64-bit application cannot use a 32-bit UID file.


UNIX Commandsuil                

See also

Solution description

Use the appropriate UIL compiler for your application.

The locations of the two UIL compilers are as follows:


Use uil if you are building your application in 32-bit mode (+DD32). That is the default mode for the HP-UX cc and aCC compilers.

Use uil64 if you are building in 64-bit mode (+DD64). That is the default mode for the cc and cxx drivers in the Tru64 UNIX Migration Environment for HP-UX.

There is an extra consideration for shared libraries that open UID files. If a library exists in both 32-bit and 64-bit versions, it must also have both 32-bit and 64-bit UID files. The library is responsible for opening the appropriate one since Mrm does not have separate 32-bit and 64-bit search paths for UID files.

Finally, the uil(1) manpage on HP-UX has display problems because it is installed in the wrong directory. That will be fixed in a future release. In the meantime, run the following command as root:

mv /usr/share/man/man1/uil.1 /usr/share/man/man1.Z

Problem summary

classifications source types OS release severity type
64 Make, Script any HP-UX 11i version critical changed
Printable version
Privacy statement Using this site means you accept its terms Feedback to DSPP
© 2007 Hewlett-Packard Development Company, L.P.