On 1/5/19, Bruno Haible <[email protected]> wrote:
> In the config.log of the tp/Texinfo/XS directory:
>
> configure:7518: cc -o conftest -g -I/home/haible/prefix-x86_64/include
> -L/home/haible/prefix-x86_64/lib conftest.c
> /home/haible/prefix-x86_64/lib/libiconv.so -R/home/haible/prefix-x86_64/lib
>>&5
> ld: fatal: file /home/haible/prefix-x86_64/lib/libiconv.so: wrong ELF class:
> ELFCLASS64
> ld: fatal: file processing errors. No output written to conftest
> configure:7518: $? = 1
>
> As you can see, it does not use $CC (which I set to a 64-bit compiler)
> but 'cc' (which happens to be a 32-bit compiler - thus causing a mismatch
> with the CPPFLAGS and LDFLAGS that I specified).


It is certainly incorrect for the CPPFLAGS and LDFLAGS you specified
to be used here.  They should be overridden in
tp/Texinfo/XS/configure.ac the way that CC is already overridden in
that file. Maybe that will make it work.

Reply via email to