public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: Craig Rodrigues <rodrigc@mediaone.net> To: tromey@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, Subject: Re: java/4972: undefined reference to `libiconv' Date: Sun, 13 Jan 2002 20:06:00 -0000 [thread overview] Message-ID: <20020114040601.9861.qmail@sources.redhat.com> (raw) The following reply was made to PR java/4972; it has been noted by GNATS. From: Craig Rodrigues <rodrigc@mediaone.net> To: George.R.Goffe@seagate.com Cc: rodrigc@gcc.gnu.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, george.goffe@seagate.com, nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org, tromey@gcc.gnu.org Subject: Re: java/4972: undefined reference to `libiconv' Date: Sun, 13 Jan 2002 23:00:52 -0500 George, Can you do the following: (1) Apply the attached fix to gcc/gcc/configure. (2) Re-run the configure script, the way you normally do, ie.: PATH=whatever ../configure --prefix=/usr/lsd/$osname --verbose \ --with-libiconv-prefix=/usr/lsd/$osname \ --with-gnu-ld Index: configure =================================================================== RCS file: /cvs/gcc/gcc/gcc/configure,v retrieving revision 1.586 diff -u -r1.586 configure --- configure 2002/01/10 22:21:37 1.586 +++ configure 2002/01/14 03:59:06 @@ -59,8 +59,6 @@ ac_help="$ac_help --enable-nls use Native Language Support (default)" ac_help="$ac_help - --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib" -ac_help="$ac_help --disable-nls do not use Native Language Support" ac_help="$ac_help --with-included-gettext use the GNU gettext library included here" @@ -4396,8 +4394,8 @@ withval="$with_libiconv_prefix" for dir in `echo "$withval" | tr : ' '`; do - if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi - if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi + if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; export CPPFLAGS; fi + if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; export LDFLAGS; fi done fi -- Craig Rodrigues http://www.gis.net/~craigr rodrigc@mediaone.net
next reply other threads:[~2002-01-14 4:06 UTC|newest] Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-01-13 20:06 Craig Rodrigues [this message] -- strict thread matches above, loose matches on Subject: below -- 2002-01-14 18:46 Craig Rodrigues 2002-01-14 18:36 George.R.Goffe 2002-01-14 18:16 Craig Rodrigues 2002-01-14 16:36 George.R.Goffe 2002-01-14 12:26 Craig Rodrigues 2002-01-14 11:26 George.R.Goffe 2002-01-14 10:46 George.R.Goffe 2002-01-13 21:26 Craig Rodrigues 2002-01-13 19:56 Craig Rodrigues 2002-01-13 19:26 George.R.Goffe 2001-12-11 12:16 tromey 2001-12-11 12:10 tromey 2001-12-02 21:46 tromey 2001-12-02 21:41 tromey 2001-12-02 9:46 Tom Tromey 2001-11-23 1:56 rodrigc 2001-11-23 1:56 rodrigc
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20020114040601.9861.qmail@sources.redhat.com \ --to=rodrigc@mediaone.net \ --cc=gcc-prs@gcc.gnu.org \ --cc=tromey@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).