3
Working With 32 and 64-bit Applications
The Dracula directory structure is as follows:
-
The wrappers are stored in:
tools/dracula/bin
-
64-bit executables(if exist) are stored in:
tools/dracula/bin/64bit
-
32-bit executables with or without 64-bit equivalent are stored in:
tool/dracula/bin/32bit
By default Dracula uses 32-bit application binaries.
To enable 64-bit applications use the following UNIX environment variable
CDS_AUTO_64BIT {ALL | NONE | "INCLUDE:list" | "EXCLUDE:list"| "list"}
This environment variable enables you to select 32-bit or 64-bit executables using the following values:
-
ALLInvokes all applications as 64-bit, where available. The list of executables available is in yourinstall_dir/bin/64bit -
NONEInvokes all applications as 32-bit. -
"INCLUDE:list"Invokes all applications in the list as 64-bit, where available. -
"EXCLUDE:list"Invokes all applications as 64-bit, where possible, except the applications in the list. -
"list"Invokes only the executables included in the list, if available, as 64-bit. "list" is a list of case-sensitive executable names delimited by a semi-colon(;) or a colon(:). Providing the list without a preceding keyword works the same as using the keywordINCLUDE.
Examples:
setenv CDS_AUTO_64BIT "pipo;layout.exe"
setenv CDS_AUTO_64BIT "EXCLUDE:si"
All 64-bit executables are controlled by a wrapper executable. The wrapper invokes the 32-bit or 64-bit executables depending on how the CDS_AUTO_64BIT environment variable is set, or whether the 64-bit executable is installed. The wrapper also adjusts the paths before invoking the 32-bit or 64-bit executables.
If you do not set the CDS_AUTO_64BIT environment variable then the 32-bit executable is invoked by default.
However, Dracula uses a separate environment variable called DRACULA_AUTO_64BIT to enable 64-bit mode. This environment variable specifies the addressing mode only for Dracula, and overrides the ALL or NONE settings of the CDS_AUTO_64BIT environment variable for Dracula. DRACULA_AUTO_64BIT recognizes the following variable values:
-
ALLInvokes all applications as 64-bit, where available. The list of executables available is in yourinstall_dir/bin/64bit -
NONEInvokes all applications as 32-bit. -
"INCLUDE:list"Invokes all applications in the list as 64-bit, where available. -
"EXCLUDE:list"Invokes all applications as 64-bit, where possible, except the applications in the list. -
"list"Invokes only the executables included in the list, if available, as 64-bit. "list" is a list of case-sensitive executable names delimited by a semi-colon(;) or a colon(:). Providing the list without a preceding keyword works the same as using the keywordINCLUDE.
Example:
setenv DRACULA_AUTO_64BIT "PDRACULA;LOGLVS"
setenv DRACULA_AUTO_64BIT "EXCLUDE:LPEPRO"
- Users must not include directories containing the associated "real," non-wrapper executables in their UNIX path
- There is a consistent use model in both 32 bit and "automatic high capacity" modes (for example, the same UNIX path)
- Prevents pilot errors (for example, attempting to run a 64-bit executable in a 32-bit environment)
- Consistent with Solaris 7 32 or 64-bit model
- Requires the same licenses for a 32-bit or 64-bit operation
Return to top