This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


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

Re: libstdc++-v3 won't build on AIX 4.1 any more (3.0 branch)


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

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