Message-ID: <3420D6A6.4C1C7A67@a.crl.com> Date: Thu, 18 Sep 1997 02:22: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 for DJGPP (was Re: Tex) References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Precedence: bulk Eli Zaretskii wrote: > > > 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) > > Please post the details, if you care to solve this. ac_include worked OK, here's my second night's result. And this time it's very encouraging. I still have problems with the "ac_include"s. That's probably because either my m4 or my autoconf program is not set up properly. To go around this problem, I replaced all ac_include lines in all the Makefile.in with a copy of the to be inserted file. I made it my goal to produce a pdftex.exe. To that end: 1. I unzipped the Web2C (webc70s.zip) and the Kpathsea (kpse30s.zip) packages. 2. I then untarred pdftex.tar.gz in the gnu/texk-7.0 directory. (overwriting 8 files). 3. I did the ac_include thing mentioned above. (This is stupid, I know.) I also got rid of all the "-g"s from CFLAGS. 4. I run djgpp/config.bat from texk-7.0 (with errors, since web2c/cinfigure is overwritten now). 5. I run "make pdftex" from gnu/texk-7.0/web2c. And that's it. I have a DJGPP compiled pdftex.exe now: -rwxr-xr-x 1 weiqi dos 2048 Sep 18 01:31 pdfamstex.exe* -rwxr-xr-x 1 weiqi dos 2048 Sep 18 01:31 pdflatex.exe* -rwxr-xr-x 1 weiqi dos 422912 Sep 18 01:28 pdftex.exe* Compared with the Win32 binaries distribution: -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* This size of pdftex.exe is 10% smaller now. It also runs markedly faster. (I recreated all the pdf{,la,ams}tex.fmt files and was able to generate PDF files out of arbitrary TeX files.) Thanks for everyone on the PDFTeX project. And I'll read your mathematics on the Internet! -- Weiqi Gao weiqigao AT a DOT crl DOT com