www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/09/18/03:18:37

Message-ID: <3420D6A6.4C1C7A67@a.crl.com>
Date: Thu, 18 Sep 1997 02:22:14 -0500
From: Weiqi Gao <weiqigao AT a DOT crl DOT com>
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: <Pine DOT SUN DOT 3 DOT 91 DOT 970916154743 DOT 25597M-100000 AT is>

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019