[tlbuild] TeX Live builds -- second summary

Angelo Graziosi angelo.graziosi at alice.it
Tue May 5 19:06:20 CEST 2009


Ken Brown ha scritto:
> The build succeeds if I make the following simple rearrangement in 
> xetex.am.
> 
> -xetex_ldadd += $(FONTCONFIG_LIBS) $(XPDF_LIBS) $(LIBPNG_LIBS)
> +xetex_ldadd += $(XPDF_LIBS) $(LIBPNG_LIBS) $(FONTCONFIG_LIBS)
> 

It looks like the trick I did with TL2008 in xetek.mk:

> - at XETEX_GENERIC@ EXTRALIBS = @LDLIBXPDF@ @LDLIBPNG@ @LDFONTCONFIG@
> +LOAD_FN_CFG = /usr/lib/libfontconfig.a -lz /usr/lib/libexpat.a lib/lib.a $(LDFREETYPE2)
> +
> + at XETEX_GENERIC@ EXTRALIBS = @LDLIBXPDF@ @LDLIBPNG@ $(LOAD_FN_CFG)

In that case, the linking with TL zlib was before the XPDF libs. So 
applying the things to TL2009, i.e. with

> g++-4 -Wno-write-strings -Wno-attributes -Wl,--enable-auto-import
> -Wl,--enable-runtime-pseudo-reloc -o xetex.exe xetex-xetexini.o
> xetex-xetex0.o xetex-xetex1.o xetex-xetex2.o xetex-xetex_pool.o
> xetex-xetexextra.o xetex-synctex-xe.o libxetex.a
> /work/texlive-source/Work/libs/icu/icu-build/lib/libsicuuc.a
> /work/texlive-source/Work/libs/icu/icu-build/lib/libsicule.a
> /work/texlive-source/Work/libs/icu/icu-build/lib/libsicudata.a
> /work/texlive-source/Work/libs/teckit/libTECkit.a
> /work/texlive-source/Work/libs/zlib/libz.a
> /work/texlive-source/Work/libs/xpdf/libxpdf.a
> /work/texlive-source/Work/libs/libpng/libpng.a /usr/lib/libfontconfig.a
> -lz /usr/lib/libexpat.a -L/work/texlive-source/Work/libs/freetype2
> /work/texlive-source/Work/libs/freetype2/libfreetype.a lib/lib.a
> /work/texlive-source/Work/texk/kpathsea/.libs/libkpathsea.a

gives a full zlib-static xetex:

> $ cygcheck ./xetex.exe 
> .\xetex.exe 
>   C:\cygwin\bin\cygwin1.dll
>     C:\WINDOWS\system32\ADVAPI32.DLL 
>       C:\WINDOWS\system32\KERNEL32.dll
>         C:\WINDOWS\system32\ntdll.dll 
>       C:\WINDOWS\system32\RPCRT4.dll
>         C:\WINDOWS\system32\Secur32.dll 
>   C:\cygwin\bin\cyggcc_s-1.dll
>   C:\cygwin\bin\cygstdc++-6.dll
> 

Note also the '.a' not .dll.a files for fontconfig etc.

Cheers,
    Angelo.


More information about the tlbuild mailing list