This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Unreviewed patch for PR 11171


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]