This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: sh atomics config
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: Joern RENNECKE <joern dot rennecke at st dot com>
- Cc: Benjamin Kosnik <bkoz at redhat dot com>, libstdc++ at gcc dot gnu dot org
- Date: Wed, 13 Sep 2006 02:32:03 -0300
- Subject: Re: sh atomics config
- References: <20060912163426.ef22a4e4.bkoz@redhat.com> <4506E1A2.9030105@st.com>
On Sep 12, 2006, Joern RENNECKE <joern.rennecke@st.com> wrote:
> Benjamin Kosnik wrote:
>> I'd like to fix this up. In particular, I'd like to use some kind of
>> host_cpu based switch, sh4-* for instance. Seems too easy: is this
>> possible?
> I suppose the issue with duplicating the generic code could be solved by
> #including it instead.
IIRC that wouldn't work because, if we have our own header overrider,
then the original header doesn't get installed. We'd have to somehow
generate a combined header at configure time or some such.
--
Alexandre Oliva http://www.lsd.ic.unicamp.br/~oliva/
Secretary for FSF Latin America http://www.fsfla.org/
Red Hat Compiler Engineer aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist oliva@{lsd.ic.unicamp.br, gnu.org}