public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: Bruno Haible <bruno@clisp.org>
To: danglin@gcc.gnu.org
Cc: gcc-prs@gcc.gnu.org,
Subject: Re: java/7169: /usr/ccs/bin/ld: Unsatisfied symbols: libiconv, li
Date: Wed, 03 Jul 2002 06:36:00 -0000	[thread overview]
Message-ID: <20020703133601.8712.qmail@sources.redhat.com> (raw)

The following reply was made to PR java/7169; it has been noted by GNATS.

From: Bruno Haible <bruno@clisp.org>
To: "John David Anglin" <dave@hiauly1.hia.nrc.ca>
Cc: tromey@redhat.com, dave.anglin@nrc.ca, gcc-gnats@gcc.gnu.org
Subject: Re: java/7169: /usr/ccs/bin/ld: Unsatisfied symbols: libiconv, li
Date: Wed, 3 Jul 2002 15:34:17 +0200 (CEST)

 John David Anglin writes:
 > > That's a different thing; you built and installed libiconv with an
 > > ANSI C compiler, and now you go back to a non-ANSI C compiler. Why
 > > don't you use "cc -Ae" instead of "cc" to bootstrap gcc? Why doesn't
 > > gcc by itself add the "-Ae" when it sees an HP-UX compiler?
 > 
 > The "-Ae" option requires purchase of the optional HP ANSI C
 > compiler.
 
 I see.
 
 > Are you saying, that if I build libiconv with a traditional
 > compiler, it will install a header file that is compatible with a
 > traditional compiler?
 
 No, I am saying that libiconv is only buildable with an ANSI C
 compiler, and its installed header file works only with an ANSI C or
 C++ compiler.
 
 So if you insist on using a K&R C compiler, you have to hide
 libiconv's installed file from it - either by doing "make uninstall"
 in libiconv's builddir, or by choosing a different --prefix for gcc.
 
 > If this were fixed, then ...
 
 I won't "fix" this. ANSI C is the standard now. Until you have an ANSI
 C compiler, I'd recommend to not install libiconv. Then, when you have
 bootstrapped gcc once, you can install libiconv, gettext and then
 rebuild gcc with --enable-nls.
 
 Bruno


             reply	other threads:[~2002-07-03 13:36 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-03  6:36 Bruno Haible [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-07-03  6:36 Bruno Haible
2002-07-02 16:06 John David Anglin
2002-07-02 14:26 John David Anglin
2002-07-02 13:56 John David Anglin
2002-07-02 12:56 Bruno Haible
2002-07-02 12:16 John David Anglin
2002-07-02 12:07 John David Anglin

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=20020703133601.8712.qmail@sources.redhat.com \
    --to=bruno@clisp.org \
    --cc=danglin@gcc.gnu.org \
    --cc=gcc-prs@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: link
Be 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).