From: Tom Tromey <tromey@redhat.com>
To: Joel Brobecker <brobecker@adacore.com>
Cc: gdb@sourceware.org
Subject: Re: prefer in-tree libiconv over the system libiconv?
Date: Mon, 20 Apr 2009 21:36:00 -0000 [thread overview]
Message-ID: <m3fxg32fk6.fsf@fleche.redhat.com> (raw)
In-Reply-To: <20090420183619.GB5858@adacore.com> (Joel Brobecker's message of "Mon\, 20 Apr 2009 11\:36\:19 -0700")
Joel> But, on the other hand, for a distributer like AdaCore (and maybe CS),
Joel> it makes it harder to make sure which libiconv gets linked in.
Joel> I suggest we change the logic a bit so that, if the libiconv sources
Joel> are in-tree, then use this libiconv over the system one. The
Joel> alternative is to have a configure switch that would allow us to
Joel> specify the location of the libiconv install from the in-tree build.
Joel> Thoughts?
I think the relevant scenario is something like the old Cygnus "devo"
tree, where you would have libiconv always present and also use the
single soruce tree on all hosts. In this situation, would you prefer
to pick up the system iconv on Linux? Or would you prefer to always
use libiconv and have identical behavior across hosts (at some cost; I
think the native glibc iconv probably handles more charsets).
I guess specifying the libiconv prefix in the build tree might work.
Something like --with-build-libiconv or --with-system-iconv would be
simpler and less error-prone, though.
Anyway, I'm happy to implement whatever approach you want here, just
let me know.
Tom
next prev parent reply other threads:[~2009-04-20 21:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-20 20:32 Joel Brobecker
2009-04-20 21:36 ` Tom Tromey [this message]
2009-04-20 22:34 ` Joel Brobecker
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=m3fxg32fk6.fsf@fleche.redhat.com \
--to=tromey@redhat.com \
--cc=brobecker@adacore.com \
--cc=gdb@sourceware.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