[tlbuild] Building on Mac
Peter Breitenlohner
peb at mppmu.mpg.de
Fri Mar 23 13:34:47 CET 2012
On Thu, 22 Mar 2012, Richard Koch wrote:
> Thanks for this clue, which sounds plausible. I'm a little puzzled why the issue
> would affect PPC code, but not Intel code.
>
> Is it possible to compile xetex by itself without compiling the whole TeX Live
> build tree, and if so might that help?
Hi Dick,
below I'll desribe two ways to build just xetex (and whatever is needed for
it), but that certainly won't help the problem. You would, however, achieve
is a faster turn around when experimenting with linker flags for xetex.
(1) as described in README.config, you can specify options that disable
building various components
--disable-all-pkgs
--enable-web2c
--enable-bibtexu
only build the programs in texk/web2c/ and texk/bibtexu/ plus all libraries
required for them, and
--disable-tex
--disable-aleph
--disable-pdftex
--disable-luatex
--disable-ptex
--disable-eptex,
--disable-uptex
--disable-euptex
--disable-mf
--disable-mp
--disable-web-progs
--disable-omfonts
only build xetex plus the programs required to build it.
This will prevent all others from being built, but never the less everything
will be configured (the configure time is roughly the same as the
compilation time, although skipping to compile all the other engines is
quite some saving).
(2) as (sort of) described in README.hacking, you can effectively remove
various parts from the TL tree, but that requires autoconf-2.68 and
automake-1.11.3 (and perhaps libtool-2.4.2).
The file m4/kpse-pkgs.m4 defines various lists.
In kpse_utils_pkgs remove all entries.
In kpse_texk_pkgs remove all entries except web2c and bibtexu.
In kpse_libs_pkgs you may remove entries for some libraries:
gd freetype t1lib
but should then also remove
AC_REQUIRE([KPSE_T1LIB_SYSTEM_FLAGS])
AC_REQUIRE([KPSE_FREETYPE_SYSTEM_FLAGS])
AC_REQUIRE([KPSE_GD_SYSTEM_FLAGS])
from the definition of KPSE_ALL_SYSTEM_FLAGS.
Then you must rebuild {.,libs/,texk/,utils/}configure, either manually by
reautoconf . libs texk utils
or automatically when you configure with
--enable-maintainer-mode
In addition you should configure with '--disable-tex', '--disable-aleph',
etc as above, such that only xetex and bibtexu plus required libraries and
utility programs are configured and built.
Regards
Peter
More information about the tlbuild
mailing list