This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Unreviewed patch for PR 11171
- From: Jim Wilson <wilson at tuliptree dot org>
- To: bkoz at redhat dot com
- Cc: Dara Hazeghi <dhazeghi at yahoo dot com>, gcc-patches at gcc dot gnu dot org
- Date: Tue, 15 Jul 2003 00:49:42 -0700
- Subject: Re: Unreviewed patch for PR 11171
- References: <20030709051924.53068.qmail@web41107.mail.yahoo.com>
Dara Hazeghi wrote:
the patch at
http://gcc.gnu.org/ml/gcc-patches/2003-06/msg01242.html
has not received any comments.
This is a libstdc++-v3 patch.
The user is trying to build for a freebsd target using newlib. I don't
know why he is doing that, but there are people that want this to work,
as this has come up before. libstdc++ assumes that we are using freebsd
headers if the target is freebsd.
The patch seems reasonable to me, though it won't apply to current
sources as they have been rewritten a bit. Also, it seems a bit
incomplete since it overrides os_include_dir but not anything else.
Some of the tests are obvious header specific, and some don't seem to be
header specific, so it isn't clear whether we should override all of
them or only some of them. It seems reasonable to override all of them
though. A possible patch would be to test for with_newlib before the
case $host. If !with_newlib, then we execute the case. If with_newlib,
then we do standard newlib tests.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com