Kbase 18914: Requirements For Using ESQL92 Precompiler For C
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  15/10/2008 |
|
Status: Verified
GOAL:
How to use the ESQL-92 precompiler for C on different platforms.
GOAL:
What are the compile time, link time, and run time requirements, for using the ESQL-92 precompiler for C on different platforms.
FIX:
For all platforms, set the DB_NAME, DH_USER, and DH_PASSWD environment
variables to required values. All platforms require a temporary
directory at compile time. Define this with environment variable
TPE_TMPDIR.
For MS Windows NT only, do not enclose the connect string in single
quotes in the definition of the DB_NAME environment variable.
The ESQL-92 precompiler for C has specific requirements for compiling,
linking, and run-time. These vary across platforms. The run-time
environment requires dynamic load library routines that are available
in a C++ development environment. In most cases a C Language
development environment is not sufficient.
The following are compile requirements, link requirements, and run-time requirements by platform:
MS Windows NT:
Compile Requirements - MS Visual Studio 6,
include %DLC%\bin in PATH variable
Link Requirements - esql92.lib
esql92.dll
set LIB variable = %DLC%\lib
Run-time Requirements - esql92.dll
include %DLC%\lib in PATH variable
MKS Windows-NT:
Compile Requirements - include $DLC/bin in PATH variable
Link Requirements - esql92.lib
esql92.dll
set LIB variable = %DLC%\lib
Run-time Requirements - $DLC/bin/esql92.dll
include $DLC/bin in PATH variable
Solaris:
Compile Requirements - Sun Workshop Development Environment
include $DLC/bin in PATH variable
Link Requirements - libesql92.so
set LD_LIBRARY_PATH
variable = $DLC/lib
Run-time Requirements - include $DLC/jre/lib/solaris
ative_threads in
LD_LIBRARY_PATH variable
HP-UX 1132:
Compile Requirements - aCC Compiler
include location of compiler in PATH variable
Link Requirements - libesql92.sl
include $DLC/lib and
$DLC/usr/lib in LPATH variable
Run-time Requirements - include $DLC/lib:$DLC/jre/lib
/PA_RISC
ative_threads
in SHLIB_PATH variable
AIX:
Compile Requirements - include $DLC/bin in PATH variable
Link Requirements - libesql92.so
set LIBPATH variable = $DLC/lib
set TPEROOT variable = $DLC
Run-time Requirements - include $DLC/dlc/jre/lib
/aix
ative_threads
in LIBPATH variable