Example

Top  Previous  Next

This is an example of a function that is the same as the standard C function (compile) but also defines the symbol DEBUG.

 

-CDEBUG, -CD

   Execute cl6x -qq -I"@D\edition\Lyrtech\c6000\include" \

   --symdebug:coff -O3 -c                                \

   -dDEBUG                                               \

   @A

 

You can test this function by running 3L.exe in verbose mode:

 

» 3L -V CD hello.c

Diamond: C:\3L\Diamond\

Command: CD

Parameters: hello.c

Command file C:\3L\Diamond\edition\Lyrtech\c6000\Command.dat

Execute cl6x -qq -I"C:\3L\Diamond\edition\Lyrtech\c6000\include" --symdebug:coff -O3 -c -pdsw225 -dDEBUG hello.c

»