Date: Fri, 3 Aug 2001 11:50:34 -0400 Message-Id: <200108031550.LAA01352@delorie.com> X-Authentication-Warning: delorie.com: eliz set sender to eliz AT delorie DOT com using -f From: Eli Zaretskii To: kreg0815 AT iscb DOT de (Michael Lang) CC: djgpp AT delorie DOT com In-reply-to: <9kdutq$du$0@pita.alt.net> (kreg0815@iscb.de) Subject: Re: Can't make Antiword with Djgpp References: <3B69EEE9 DOT C54F9C25 AT uol DOT com DOT br> <1438-Fri03Aug2001120824+0300-eliz AT is DOT elta DOT co DOT il> <9kdutq$du$0 AT pita DOT alt DOT net> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: kreg0815 AT iscb DOT de (Michael Lang) > Newsgroups: comp.os.msdos.djgpp > Date: 3 Aug 2001 10:37:46 GMT > > In case anybody's interested and hasn't discoverd it already, the > source code uses a make variable called __dos to determine some > things, when it is compiled. For instance, if I include the line > #define __dos 1 > in antiword.h, the executable doesn't look for the home variable > anymore and it doesn't look for a .antiword directory. It just looks > at c:\antiword for its header file. It also does lots of things which are wrong for DJGPP. The Unix version is much more suitable for DJGPP than the __dos version, although neither is 100% correct. (The $HOME thing and the way "make install" installs the program and the auxiliary files is plain wrong, IMHO: it should install things in a public directory, not in the user's private directory, and not in C:\.)