Message-ID: <341DFDBE.C149521D@a.crl.com> Date: Mon, 15 Sep 1997 22:32:14 -0500 From: Weiqi Gao Organization: Spectrum Healthcare Services MIME-Version: 1.0 To: djgpp AT delorie DOT com, pdftex AT tug DOT cs DOT umb DOT edu Subject: Re: pdftex (was Re: Tex) References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Precedence: bulk To my question of building pdftex with DJGPP, I've got two responses: Eli Zaretskii wrote in the DJGPP list: > > On Tue, 9 Sep 1997, Weiqi Gao wrote: > > > The pdftex part (2.), I haven't been able to set up. The > > pdftex source is available under the GPL, and is in a format that is > > meant to be merged with the standard kpathsea and web2c sources (with > > replacement Makefile.in and configure.in, etc.) However, I can't do a > > clean make yet under DJGPP. > > This shouldn't be too hard. Why don't you post the specific problems > that you get when you try to compile PDFTeX, and see if someone here > has any ideas how to overcome these problems? Sebastian Rahtz wrote in the pdftex list: > > Weiqi Gao wrote: > > > 2. I also downloaded the source of pdftex. Since I'm using the DJGPP > > port of TeX on Windows 95, the configure script isn't entirely useful. > > I'm just wondering if someone can give me some insight into how to > > compile the sources by hand. > > I'd say, don't even try at this stage; Fabrice uses Visual C++, and i think > that doing it with djgpp is going to be non-trivial. depends how hard > you want to work... > > Sebastian I managed to conpile pdftex with DJGPP today. I simply overlaid the pdftex source with the DJGPP's version of web2c (webc70s.zip) and kpathsea (kpse30s.zip), run the DJGPP specific configure script djgpp/config.bat, and then started to do "make pdftex". I ran into several problems. None of them are pdftex problems. I have encountered: 1. ac_include in Makefiles choking make. (changed them to include) 2. @top_srcdir@, @srcdir@, etc. not substituted in the make/*.make scripts. (changed them all to either . or .., knowing this will cause problems later) 3. make would error out because it cannot find a certain file. (moved files around so that the wrong Makefile can find them) The result looks like this (probably not optimized for size yet): -rwxr-xr-x 1 weiqi dos 2048 Sep 15 21:31 pdfamstex.exe* -rwxr-xr-x 1 weiqi dos 2048 Sep 15 21:31 pdflatex.exe* -rwxr-xr-x 1 weiqi dos 678773 Sep 15 21:29 pdftex.exe* compared with the binary distribution's: -rwxr-xr-x 1 weiqi dos 470016 May 28 16:08 pdfamstex.exe* -rwxr-xr-x 1 weiqi dos 470016 May 28 16:08 pdflatex.exe* -rwxr-xr-x 1 weiqi dos 470016 May 28 16:08 pdftex.exe* The DJGPP binaries seems to run just fine. -- Weiqi Gao weiqigao AT a DOT crl DOT com