UltraLite User's Guide
UltraLite Reference
The UltraLite segment utility is for use when building applications for the Palm Computing Platform using the GCC PRC-Tools tool chain.
dbulseg generated-source-file definition-file app-name creator-id
Switch | Description |
---|---|
generated-source-file | The name of the source code file written by the UltraLite generator. |
definition-file | The name of the definition file to be written out. It should end in the extension .def. |
app-name | The name of the application. |
creator-id | The application creator ID |
The GCC PRC-Tools suite requires a set of segment identifiers in a definition file. The dbulseg utility reads the UltraLite generated code (in file generated-source-file) and writes out the definition file definition-file.
The segment definition file also includes the Palm application name and application creator ID. These Palm-specific identifiers must be supplied in the command line.
The command line included in the build.bat file that compiles the UltraLite CustDB sample application is as follows:
dbulseg custdb.c custdb.def CustDB Syb2
The resulting output file is as follows:
application { "CustDB" Syb2 } multiple code { ULRT1 ULRT2 ULRT3 ULRT4 ULRT5 ULRT6 ULRT7 ULRT8 ULRT9 ULRT10 ULRT11 ULRT12 ULRT13 ULRT14 ULRT15 ULRT16 ULRT17 ULG512 ULG513 ULG514 ULG515 ULG516 ULG517 ULG518 ULG519 ULG520 ULG521 ULG522 ULG523 ULG524 ULG525 ULG526 ULG527 ULG528 ULG529 ULG530 ULG531 ULG532 ULG131 }
The file contents are on two lines: the second line is wrapped for display purposes.