This is the mail archive of the
libstdc++@sources.redhat.com
mailing list for the libstdc++ project.
Re: AIX atomicity.h support
- To: David Edelsohn <dje at watson dot ibm dot com>
- Subject: Re: AIX atomicity.h support
- From: Phil Edwards <pedwards at disaster dot jaj dot com>
- Date: Fri, 6 Oct 2000 18:35:24 -0400
- Cc: Benjamin Kosnik <bkoz at redhat dot com>, libstdc++ at sources dot redhat dot com, Mark Mitchell <mark at codesourcery dot com>, Geoff Keating <geoffk at cygnus dot com>
- References: <200010062121.RAA25044@mal-ach.watson.ibm.com>
Well, of the problems you mentioned, let's talk ctype for a moment,
or more generally, libio.
AIX and Solaris are suffering from the same problem: glibc/libio includes
a header and assumes that certain types are defined in that header.
If libio from glibc 2.2 is going to be used, then IMHO the easiest fix
("easiest" == "smallest number of changes") is to provide that header
on non-Linux systems. Again, IMHO.
Actually, we'd have to provide a slightly modified version of that header,
since it includes other headers which we couldn't depend on, etc.
Since this was the approach that got me a hacked-up version working
under Solaris, I'd be willing to work on this. But it needs a decision
from the Hivemind first: do we want to add a sys/cdefs.h to v3? Are we
continuing to use libio? (I've seen things that would seem to indicate
that we aren't...?)
Phil
--
pedwards at disaster dot jaj dot com | pme at sources dot redhat dot com
devphil at several other less interesting addresses in various dot domains
The gods do not protect fools. Fools are protected by more capable fools.