home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / vol_300 / 327_01 / help5.txt < prev    next >
Text File  |  1991-10-09  |  2KB  |  42 lines

  1. +                        COMPILATION AND LINKAGE
  2.  
  3.  
  4.     Included in the Panels for C package is one or more of the following
  5.     object files:
  6.  
  7.           SPANELR.OBJ   - MicroSoft C DOS small memory model
  8.           LPANELR.OBJ   - MicroSoft C DOS large memory model
  9.           SPANELP.OBJ   - MicroSoft C OS/2 small memory model
  10.           LPANELP.OBJ   - MicroSoft C OS/2 large memory model
  11.           SPANELTC.OBJ  - Turbo C DOS small memory model
  12.           LPANELTC.OBJ  - Turbo C DOS large memory model
  13.  
  14.  
  15. +                             MicroSoft C
  16.  
  17.     Assuming you have written a DOS program to be compiled with MicroSoft C,
  18.     you could use one of the following commands to compile and link it with
  19.     the Panel routines:
  20.  
  21. +                cl /F 2000 YourPgm.c spanelr.obj         Small model
  22.  
  23. +                cl /AL /F 2000 YourPgm.c lpanelr.obj     Large model
  24.  
  25.     The /F option sets the size of the program stack for the executable
  26.     file.  This must be set to an adequate value.  A makefile is also
  27.     included in the package illustrating how panel programs are built.
  28.  
  29.  
  30. +                               Turbo C
  31.  
  32.     Using the Turbo C integrated development environment, create a project
  33.     file with your source file name and either SPANELTC.OBJ or LPANELTC.OBJ
  34.     listed in it.  Select the make EXE option from the compile menu.
  35.  
  36.  
  37.     For other compilers, consult your reference manual.
  38.     Be sure to include the file PANEL.H and KEYS.H in your source code.
  39.  
  40.  
  41.                            *** END OF TOPIC ***
  42.