This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: libstdc++-v3 won't build on AIX 4.1 any more (3.0 branch)
- To: David Edelsohn <dje at watson dot ibm dot com>
- Subject: Re: libstdc++-v3 won't build on AIX 4.1 any more (3.0 branch)
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 18 May 2001 02:31:14 -0300
- Cc: Benjamin Kosnik <bkoz at redhat dot com>, libstdc++ at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Organization: GCC Team, Red Hat
- References: <200105180519.BAA24596@makai.watson.ibm.com>
On May 18, 2001, David Edelsohn <dje@watson.ibm.com> wrote:
> You might want to list AIX 4-9 and use generic for all other AIX.
Like this? Ok to install? (Using config/os/aix's atomicity.h appears
to work on AIX 4.1, indeed. At least, it compiles; we'll only know
whether it really works in a couple of days :-(
Index: libstdc++-v3/ChangeLog
from Alexandre Oliva <aoliva@redhat.com>
* configure.target (ATOMICITYH): Actually use AIX-specific code on
earlier versions of AIX 4.*.
Index: libstdc++-v3/configure.target
===================================================================
RCS file: /cvs/gcc/egcs/libstdc++-v3/configure.target,v
retrieving revision 1.21
diff -u -p -r1.21 configure.target
--- libstdc++-v3/configure.target 2001/05/18 04:50:27 1.21
+++ libstdc++-v3/configure.target 2001/05/18 05:30:10
@@ -105,8 +105,12 @@ esac
# THIS TABLE IS SORTED. KEEP IT THAT WAY.
case "${target}" in
- *-*-aix4.[3456789]* | *-*-aix[56789]*)
- ATOMICITYH=$os_include_dir
+ *-*-aix[456789]*)
+ # We set os_include_dir to config/os/aix only on AIX 4.3 and
+ # newer, but config/os/aix/bits/atomicity.h works on earlier
+ # versions of AIX 4.*, so we explicitly duplicate the directory
+ # here, because os_include_dir.
+ ATOMICITYH=config/os/aix
;;
*-*-aix*)
ATOMICITYH=config/cpu/generic
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me