Sun Microsystems Logo
Products and Services
 
Support and Training
 
 

Previous Previous     Contents     Index     Next Next

Binary Compatibility Package (BCP)

Applications compiled under Chinese OpenWindows 2.x or Solaris 1.x or SunOS 4.x systems have different binary formats than the current Chinese Solaris release. Older applications can nevertheless be run under the current Chinese release without being recompiled by using its included binary compatibility package (BCP).


Note - SUNWowbcp must be included in your system configuration in order for you to run the following commands. See your system administrator for installation.


Running Earlier Binary Code

The following BCP command runs the compiled binary code of earlier SunOS4.x /Solaris 1.x /Chinese OpenWindows 2.x applications without recompilation, although OpenWindows V2 Chinese applications display no input server status region. As shown in the following examples, the command calls the application by its old name (old_application_name) and sets the basic locale, input language, and display language using the older version's specific locale name (oldlocale):

system% old_application_name -lc_basiclocale oldlocale -lc_inputlang oldlocale \
    -lc_displaylang oldlocale

  • For a current Simplified Chinese Solaris release system to run the compiled binary code of an earlier version of the textedit application enter, for example:

system% textedit -lc_displaylang chinese -lc_basiclocale chinese  -lc_inputlang chinese

Incompatibilities between Simplified Chinese Solaris 2.x and 1.x applications do not permit cutting and pasting of Chinese characters between them.

Previous Previous     Contents     Index     Next Next