[tlbuild] first build for TeX Live 2008
Jonathan Kew
jonathan_kew at sil.org
Thu May 22 00:11:54 CEST 2008
On 21 May 2008, at 11:03 pm, Vladimir Volovich wrote:
>
> BTW, i remembered that there's indeed a bug in xetex's configure or
> Makefile rules. e.g. on solaris, the link command is:
>
> CC -o xetex xetexini.o xetex0.o xetex1.o xetex2.o xetexextra.o
> trans.o XeTeX_ext.o xetex_pool.o XeTeXFontMgr_FC.o synctex-xe.o
> mfileio.o numbers.o pdfimage.o bmpimage.o jpegimage.o pngimage.o
> XeTeX_pic.o XeTeXFontMgr.o XeTeXLayoutInterface.o
> XeTeXOTLayoutEngine.o XeTeXFontInst.o cmaps.o FontTableCache.o
> XeTeXOTMath.o XeTeXGrLayout.o XeTeXFontInst_FT2.o -D_REENTRANT -L/
> opt/csw/lib -lsocket ../../libs/icu-xetex/lib/libsicuuc.a ../../
> libs/icu-xetex/lib/libsicule.a ../../libs/icu-xetex/lib/
> libsicudata.a ../../libs/teckit/lib/.libs/libTECkit.a ../../libs/
> freetype2/.libs/libfreetype.a ../../libs/graphite-engine/src/.libs/
> libgraphite.a ../../libs/zlib/libz.a ../../libs/xpdf/xpdf/
> libxpdf.a ../../libs/xpdf/goo/libGoo.a ../../libs/xpdf/fofi/
> libfofi.a ../../libs/libpng/libpng.a /opt/csw/lib/libfontconfig.so /
> opt/csw/lib/libiconv.so /opt/csw/lib/libfreetype.so -lz /opt/csw/
> lib/libexpat.so lib/lib.a ../kpathsea/.libs/libkpathsea.a -lm -
> lpthread -R/opt/csw/lib -R/opt/csw/lib
>
> which needlessly pulls in
>
> /opt/csw/lib/libfreetype.so
> /opt/csw/lib/libiconv.so
> /opt/csw/lib/libexpat.so
>
> and also -lz in addition to ../../libs/zlib/libz.a, and -lpthread.
>
> making them direct dependencies.
Hmmm. Is this something libtool is doing? What does the preceding
libtool line that generates this link command look like?
> the link command succeeeds if i remove these 3 .so libs, and -lz
> -lpthread and leave only /opt/csw/lib/libfontconfig.so:
And does the resulting binary still work, including the ability to
locate an OpenType font from ~/.fonts or /etc/fonts or something
(wherever fontconfig is set up to manage)?
JK
More information about the tlbuild
mailing list