Xref: news2.mv.net comp.os.msdos.djgpp:5337 From: lehmann AT mathematik DOT th-darmstadt DOT de (Alexander Lehmann) Newsgroups: comp.os.msdos.djgpp Subject: Re: Leffler's TIFF Library -- DOS compilation? Date: 24 Jun 1996 18:35:24 GMT Organization: Technische Hochschule Darmstadt Lines: 30 Message-ID: <4qmn5c$1829@rs18.hrz.th-darmstadt.de> References: <4qmdgs$se4 AT agate DOT berkeley DOT edu> NNTP-Posting-Host: fb0401.mathematik.th-darmstadt.de To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp [note that I have removed comp.unix.programmer, they probably don't care about DOS problems :-)] Allen Pouratian (allenp AT nima DOT eecs DOT berkeley DOT edu) wrote: : Has anyone gotten Sam Leffler's TIFF library to successfully compile, link, : and work under DOS? Borland can't do it, and now it seems DJGPP won't do : it either. The library works perfectly in linux, the magic just isn't : happening in DOS. : Has anyone done this successfully? DJGPP seems to seg-fault while compiling : the g3states.h file, otherwise, the compilation goes smoothly (in DJGPP) with : BSDTYPES defined. I have compiled the library and tools successfully under djgpp2 and have contributed the necessary makefiles to the package. The current v3.4 release should contain a contrib directory dosdjgpp with the necessary instructions. The only problems were that there are two files which are identical in the first 8 chars (tif_fax3.c and tif_fax3sm.c or something) and that the compilation of the state machine tables takes up very much memory so that you have to give the compiler as much DPMI memory as possible. bye, Alexander -- Alexander Lehmann, | "On the Internet, alex AT hal DOT rhein-main DOT de (plain, MIME, NeXT) | nobody knows lehmann AT mathematik DOT th-darmstadt DOT de (plain) | you're a dog." !!CHANGED!!