[tex-live] xdv2pdf not respecting CC=... CXX=...

Mojca Miklavec mojca.miklavec.lists at gmail.com
Mon Jun 6 18:49:53 CEST 2011


Dear TL team,

I have already mentioned it shortly, but now again. If I try to change
CC=... and CXX=... it works perfectly well for all programs but for
xdv2pdf which simply ignores the flag. (I have tried to build with
"./Build --disable-all-pkgs --enable-xdv2pdf CC=llvm-gcc CXX=llvm-g++"
this time.)

xdv2pdf fails to compile for x86_64-darwin anyway, but that is
another, unrelated problem. (I can provide a set of flags that would
make it compile on OS X 10.6.7 provided that it would respect those
flags in the first place.)

May I ask for taking a look into this?

Thank you very much,
    Mojca


=== configuring in xdv2pdf
(/Users/mojca/dev/tex/texlive/build/Work/texk/xdv2pdf)
make: running /bin/sh '../../../texk/xdv2pdf/configure'
'--disable-option-checking'
'--prefix=/Users/mojca/dev/tex/texlive/build/inst'
'--datadir=/Users/mojca/dev/tex/texlive/build/inst' '--disable-shared'
'--disable-missing' '--disable-largefile' '--with-xdvi-x-toolkit=xaw'
'--disable-all-pkgs' '--enable-xdv2pdf' 'CC=llvm-gcc' 'CXX=llvm-g++'
'--enable-native-texlive-build' '--enable-multiplatform=yes'
'--enable-cxx-runtime-hack=yes' '--enable-libtool-hack=yes'
'--enable-texlive-build'
'--bindir=${exec_prefix}/bin/x86_64-apple-darwin10.7.0'
'--libdir=${exec_prefix}/lib/x86_64-apple-darwin10.7.0' '--with-x'
'--enable-biber=no' '--enable-chktex=no' '--enable-dialog=no'
'--enable-ps2eps=no' '--enable-psutils=no' '--enable-t1utils=no'
'--enable-tpic2pdftex=no' '--enable-vlna=no' '--enable-xindy=no'
'--with-clisp-runtime=default' '--enable-xpdfopen=no'
'--enable-web2c=no' '--enable-afm2pl=no' '--enable-bibtex8=no'
'--enable-bibtexu=no' '--enable-cjkutils=no' '--enable-detex=no'
'--enable-devnag=no' '--enable-dtl=no' '--enable-dvi2tty=no'
'--enable-dvidvi=no' '--enable-dviljk=no' '--enable-dvipdfmx=no'
'--enable-dvipng=no' '--enable-dvipos=no' '--enable-dvipsk=no'
'--enable-dvisvgm=no' '--enable-gsftopk=no' '--enable-lacheck=no'
'--enable-lcdf-typetools=no' '--enable-makeindexk=no'
'--enable-makejvf=no' '--enable-mendexk=no' '--enable-ps2pkm=no'
'--enable-seetexk=no' '--enable-tex4htk=no' '--enable-ttf2pk=no'
'--enable-ttf2pk2=no' '--enable-ttfdump=no' '--enable-xdvik=no'
'--enable-xdvipdfmx=no' '--enable-tetex=no' '--enable-texlive=no'
'--with-system-icu=no' '--with-system-teckit=no'
'--with-system-graphite=no' '--with-system-zziplib=no'
'--with-system-xpdf=no' '--with-system-poppler=no'
'--with-system-gd=no' '--with-system-freetype2=no'
'--with-system-freetype=no' '--with-system-t1lib=no'
'--with-system-libpng=no' '--with-system-zlib=no'
'--with-system-ptexenc=no' '--with-system-kpathsea=no'
'--mandir=${prefix}/texmf/doc/man'
'--infodir=${prefix}/texmf/doc/info' '--cache-file=/dev/null'
'--srcdir=../../../texk/xdv2pdf'
checking for a BSD-compatible install... /opt/local/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /opt/local/bin/gmkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-apple-darwin10.7.0
checking host system type... x86_64-apple-darwin10.7.0
checking how to print strings... printf
checking for style of include used by make... GNU
checking for gcc... llvm-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether llvm-gcc accepts -g... yes
checking for llvm-gcc option to accept ISO C89... none needed
checking dependency style of llvm-gcc... gcc3
checking for a sed that does not truncate output... /opt/local/bin/gsed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by llvm-gcc...
/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin10/4.2.1/ld
checking if the linker
(/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin10/4.2.1/ld) is GNU
ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm
checking the name lister (/usr/bin/nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-apple-darwin10.7.0 file names to
x86_64-apple-darwin10.7.0 format... func_convert_file_noop
checking how to convert x86_64-apple-darwin10.7.0 file names to
toolchain format... func_convert_file_noop
checking for /usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin10/4.2.1/ld
option to reload object files... -r
checking for objdump... no
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm output from llvm-gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... yes
checking how to run the C preprocessor... llvm-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for objdir... .libs
checking if llvm-gcc supports -fno-rtti -fno-exceptions... no
checking for llvm-gcc option to produce PIC... -fno-common -DPIC
checking if llvm-gcc PIC flag -fno-common -DPIC works... yes
checking if llvm-gcc static flag -static works... no
checking if llvm-gcc supports -c -o file.o... yes
checking if llvm-gcc supports -c -o file.o... (cached) yes
checking whether the llvm-gcc linker
(/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin10/4.2.1/ld) supports
shared libraries... yes
checking dynamic linker characteristics... darwin10.7.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking whether closedir returns void... no
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for memory.h... (cached) yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for unistd.h... (cached) yes
checking for putenv... yes
checking for strcasecmp... yes
checking for strtol... yes
checking for strstr... yes
checking for bcmp... yes
checking for bcopy... yes
checking for bzero... yes
checking for getcwd... yes
checking for getwd... yes
checking for index... yes
checking for memcmp... yes
checking for memcpy... yes
checking for mkstemp... yes
checking for mktemp... yes
checking for rindex... yes
checking for strchr... yes
checking for strrchr... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking for struct stat.st_mtim... no
checking whether the compiler accepts prototypes... yes
checking what warning flags to pass to the C compiler... -Wimplicit
-Wreturn-type -Wdeclaration-after-statement -Wno-unknown-pragmas
checking whether we are using the GNU C++ compiler... yes
checking whether llvm-g++ accepts -g... yes
checking dependency style of llvm-g++... gcc3
checking how to run the C++ preprocessor... llvm-g++ -E
checking for ld used by llvm-g++...
/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin10/4.2.1/ld
checking if the linker
(/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin10/4.2.1/ld) is GNU
ld... no
checking whether the llvm-g++ linker
(/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin10/4.2.1/ld) supports
shared libraries... yes
checking for llvm-g++ option to produce PIC... -fno-common -DPIC
checking if llvm-g++ PIC flag -fno-common -DPIC works... yes
checking if llvm-g++ static flag -static works... no
checking if llvm-g++ supports -c -o file.o... yes
checking if llvm-g++ supports -c -o file.o... (cached) yes
checking whether the llvm-g++ linker
(/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin10/4.2.1/ld) supports
shared libraries... yes
checking dynamic linker characteristics... darwin10.7.0 dyld
checking how to hardcode library paths into programs... immediate
checking what warning flags to pass to the C++ compiler... -Wimplicit
-Wreturn-type -Wno-unknown-pragmas
checking for gcc... gcc
checking whether we are using the GNU Objective C compiler... yes
checking whether gcc accepts -g... yes
checking dependency style of gcc... gcc3
checking what warning flags to pass to the Objective C compiler...
-Wimplicit -Wreturn-type -Wdeclaration-after-statement
-Wno-unknown-pragmas
configure: creating ./config.lt
config.lt: creating libtool
checking if libkpathsea supports debugging... yes
checking for Mac OS X Carbon framework... yes
checking for Mac OS X QuickTime framework... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking whether byte ordering is bigendian... no
checking for strspn... yes
checking for system... yes
checking for library containing pow... none required
checking whether kpathsea declares the kpse_opentype_format... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
Making all in xdv2pdf
make  all-am
gcc -DHAVE_CONFIG_H -I. -I../../../texk/xdv2pdf
-I/Users/mojca/dev/tex/texlive/build/Work/texk
-I/Users/mojca/dev/tex/texlive/build/texk   -Wimplicit -Wreturn-type
-Wdeclaration-after-statement -Wno-unknown-pragmas -fobjc-exceptions
-g -O2 -MT SimplePSInterpreter.o -MD -MP -MF
.deps/SimplePSInterpreter.Tpo -c -o SimplePSInterpreter.o
../../../texk/xdv2pdf/SimplePSInterpreter.m


More information about the tex-live mailing list