Table of Contents |
---|
Directory to develop an application with embedded-SQL
When you install ALTIBASE HDB, a directory structure for developer is created on your system for ALTIBASE HDB.
Directory Name | Contents |
---|---|
bin | Apre (executable binary) converts source-code of embedded-SQL application to C/C++ source style. |
install | Sample about GNU Makefile prefix-rule |
include | Header files (User don't need to care about header-file using embedded-SQL.) |
lib | Library files for APRE*C/C++ and SQLCLI |
sample/APRE | Sample programs for APRE*C/C++ |
APRE Binary
It is located in $ALTIBASE_HOME/bin directory.
Use it as follows.
Shell> apre -mt -t cpp sample1.sc
- Library files
APRE needs two library files. - One is libapre.a and the other is libodbccli.a.
- It is located in $ALTIBASE_HOME/lib directory.
If you need shared-library, you can use libapre_sl.so and libodbccli_sl.so. - Header files
Header files are automatically written into source files by apre. - Apre needs a header-file, named "ulpLibInterface.h".
User checks files as follows to develop application using Embedded-SQL.
Code Block | ||||
---|---|---|---|---|
| ||||
as48-x64#~/altibase_home] ls -lrt bin/apre -rwxr-xr-x 1 lim272 lim272 1569593 11월 23 18:30 bin/apre as48-x64#~/altibase_home] ls -lrt lib/libapre* -rwxr-xr-x 1 lim272 lim272 83276 11월 23 18:30 lib/libapre_sl.so -rw-r--r-- 1 lim272 lim272 123300 11월 23 18:30 lib/libapre.a as48-x64#~/altibase_home] ls -lrt lib/libodbccli* -rwxr-xr-x 1 lim272 lim272 2306216 11월 23 18:30 lib/libodbccli_sl.so -rw-r--r-- 1 lim272 lim272 5025604 11월 23 18:30 lib/libodbccli.a as48-x64#~/altibase_home] ls -lrt include/* -rw-r--r-- 1 lim272 lim272 7404 11월 23 18:30 include/xa.h -rw-r--r-- 1 lim272 lim272 389 11월 23 18:30 include/ulsPrimTypes.i -rw-r--r-- 1 lim272 lim272 9765 11월 23 18:30 include/ulsAPI.i -rw-r--r-- 1 lim272 lim272 3324 11월 23 18:30 include/ulpLibInterface.h -rw-r--r-- 1 lim272 lim272 5287 11월 23 18:30 include/stdWKBTypes.i -rw-r--r-- 1 lim272 lim272 11940 11월 23 18:30 include/stdNativeTypes.i -rw-r--r-- 1 lim272 lim272 21671 11월 23 18:30 include/sqlucode.h -rw-r--r-- 1 lim272 lim272 11181 11월 23 18:30 include/sqltypes.h -rw-r--r-- 1 lim272 lim272 78411 11월 23 18:30 include/sqlext.h -rw-r--r-- 1 lim272 lim272 9754 11월 23 18:30 include/sqlcli.h -rw-r--r-- 1 lim272 lim272 31945 11월 23 18:30 include/sql.h -rw-r--r-- 1 lim272 lim272 129 11월 23 18:30 include/ses.h -rw-r--r-- 1 lim272 lim272 5832 11월 23 18:30 include/iloaderApi.h -rw-r--r-- 1 lim272 lim272 3078 11월 23 18:30 include/chksvr.h -rw-r--r-- 1 lim272 lim272 15562 11월 23 18:30 include/alticapi.h -rw-r--r-- 1 lim272 lim272 10151 11월 23 18:30 include/alaTypes.h -rw-r--r-- 1 lim272 lim272 7836 11월 23 18:30 include/alaAPI.h -rw-r--r-- 1 lim272 lim272 2169 11월 23 18:30 include/acsTypes.h -rw-r--r-- 1 lim272 lim272 591 11월 23 18:30 include/acsAPI.h |