390 Using IBM Application Development Tools for z/OS and OS/390
18.2 Using C/C++ and Debug Tool under USS
In this example we rebuild the DLL application used in the C/C++ example. In this case our
source is called:
main.c
setup.c
process.c
report.c
cleanup.c
Each file will be compiled into its own DLL and its export file will be saved.
18.2.1 Compiling a C/C++ application
The following commands were used to build the DLL application. Notice the -g to ask for
debug information and the LANGLVL(EXTENDED) to allow the use of the ctest function.
c89 -g -Wc,EXPORTALL -Wl,DLL -o setupd setup.c
c89 -g -Wc,EXPORTALL,DLL,LANGLVL\(extended\) -Wl,DLL -o processd process.c setupd.x