This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Problem with iconv undefined
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- To: zack at codesourcery dot com
- Cc: gcc at gcc dot gnu dot org
- Date: Fri, 4 Jul 03 20:37:52 EDT
- Subject: Re: Problem with iconv undefined
It is supposed to recognize that libiconv does not exist, and not use
it. If this is broken, it is a bug in upstream gettext.
I think it does exist. Here are the relevant lines
from config.log in intl:
configure:5523: checking for iconv
configure:5625: checking how to link with libiconv
configure:5627: result: -liconv
configure:5638: checking for iconv declaration
extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, ch
ar * *outbuf, size_t *outbytesleft);
configure:6443: gcc -o conftest -g -O2 conftest.c -lintl -liconv >&5
am_cv_func_iconv=yes
am_cv_lib_iconv=yes
am_cv_lib_iconv_ldpath=''
am_cv_proto_iconv='extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbyt
esleft, char * *outbuf, size_t *outbytesleft);'
am_cv_proto_iconv_arg1=''
INTLLIBS='${top_builddir}/intl/libintl.a -liconv'
LIBICONV='-liconv'
LIBINTL='${top_builddir}/intl/libintl.a -liconv'
LTLIBICONV='-liconv'
LTLIBINTL='${top_builddir}/intl/libintl.a -liconv'
But I'm not sure what's supposed to happen with this.