home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / graphics / gif-util.zip / COMPILE.ME next >
Text File  |  1989-08-01  |  2KB  |  45 lines

  1. O.k. if you have TC 2.0 you are in good shape (otherwise you are on your own)
  2. and compilation will be simple:
  3.  
  4. 1. Goto to the makefiles in .\lib and .\util and change the variable
  5.    CC_LIBS to the exact place you have your cc libraries. I use to put them in
  6.    ram disk (disk f:) for fast access. Make sure this is short variable
  7.    or otherwise dos will complain about lines too long (the stupid 128 chars
  8.    per line), in linkage...
  9. 2. Goto .\lib and type 'make' (to activate TC make). this should generate the
  10.    gif library: GIF_LIBL.LIB.
  11. 3. Few of the utilities on .\util needs the TC graphic libraries (the gif2xxxx
  12.    utilities). You need to create a library named graphbgi.lib that holds all
  13.    the BGI drivers and CHR fonts. You do so by a sequence similar to:
  14.  
  15.    a. bgiobj herc       (bgiobj.exe is on one of your TC 2.0 diskettes).
  16.    b. bgiobj egavga
  17.    c. bgiobj cga
  18.    d. bgiobj ibm8514
  19.    e. bgiobj pc3270
  20.    f. bgiobj goth
  21.    g. bgiobj litt
  22.    h. bgiobj sans
  23.    i. bgiobj trip
  24.  
  25.      This will convert all this drivers/fonts into .OBJ files, which can be all
  26.    linked to creat the library:
  27.  
  28.    tlib graphbgi.lib +herc.obj +egavga.obj ... +trip.obj, graphbgi.lst
  29.  
  30.      Copy this library to the same directory as specified by CC_LIBS in 1.
  31.  
  32. 4. Decide what directory you want the executables to br copied to and create
  33.    it if it is new (default is ./exe). goto .\util and set the DEST variable
  34.    in the makefile to that directory.
  35. 5. Generate all the utilities in ./util by typing (yes you guest it!): 'make'.
  36.  
  37. Notes:
  38.      If you prefer to develop code using the tc environment (like me) you can
  39. use the .TC/.PRJ files for each of the utilities and the library. All are
  40. set to large model, to compile with 8086 type of machines and you have two
  41. versions for each: XXXXXX.TC for non debug code & XXXXXXD.TC for debug code.
  42.  
  43. Gershon Elber
  44. gershon@cs.utah.edu
  45.