home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Devil's Doorknob BBS Capture (1996-2003)
/
devilsdoorknobbbscapture1996-2003.iso
/
Dloads
/
PROGRAMM
/
GIFLIB.ZIP
/
COMPILE.ME
next >
Wrap
Text File
|
1989-08-01
|
2KB
|
45 lines
O.k. if you have TC 2.0 you are in good shape (otherwise you are on your own)
and compilation will be simple:
1. Goto to the makefiles in .\lib and .\util and change the variable
CC_LIBS to the exact place you have your cc libraries. I use to put them in
ram disk (disk f:) for fast access. Make sure this is short variable
or otherwise dos will complain about lines too long (the stupid 128 chars
per line), in linkage...
2. Goto .\lib and type 'make' (to activate TC make). this should generate the
gif library: GIF_LIBL.LIB.
3. Few of the utilities on .\util needs the TC graphic libraries (the gif2xxxx
utilities). You need to create a library named graphbgi.lib that holds all
the BGI drivers and CHR fonts. You do so by a sequence similar to:
a. bgiobj herc (bgiobj.exe is on one of your TC 2.0 diskettes).
b. bgiobj egavga
c. bgiobj cga
d. bgiobj ibm8514
e. bgiobj pc3270
f. bgiobj goth
g. bgiobj litt
h. bgiobj sans
i. bgiobj trip
This will convert all this drivers/fonts into .OBJ files, which can be all
linked to creat the library:
tlib graphbgi.lib +herc.obj +egavga.obj ... +trip.obj, graphbgi.lst
Copy this library to the same directory as specified by CC_LIBS in 1.
4. Decide what directory you want the executables to br copied to and create
it if it is new (default is ./exe). goto .\util and set the DEST variable
in the makefile to that directory.
5. Generate all the utilities in ./util by typing (yes you guest it!): 'make'.
Notes:
If you prefer to develop code using the tc environment (like me) you can
use the .TC/.PRJ files for each of the utilities and the library. All are
set to large model, to compile with 8086 type of machines and you have two
versions for each: XXXXXX.TC for non debug code & XXXXXXD.TC for debug code.
Gershon Elber
gershon@cs.utah.edu