AIX status

Phil Edwards pedwards@disaster.jaj.com
Fri Oct 13 08:38:00 GMT 2000


On Thu, Oct 12, 2000 at 08:02:37PM -0400, David Edelsohn wrote:
> 	I did not receive a direct reply from you, which would have
> helped. 

How's this one?  :-)  I assume that anyone sending mail to the list on a
regular basis is already subscribed and doesn't need 2+ copies showing up.
But I guess I'm in the minority on that one.


> 	Defining _POSIX_SOURCE and _XOPEN_SOURCE in os_defines.h is a
> particularly bad approach for AIX because that means os_defines.h needs to
> continuously track the AIX headers instead of allowing the AIX headers to
> set the correct value.  The ifndef definition of _POSIX_SOURCE in libio
> needs to go and targets should include the ifndef definition in
> os_defines.h. 

Guess I'm missing something... why can't os_defines simply include the AIX
system header which defines _POSIX_SOURCE?  That system header would be the
absolutely first one to be fully processed, so its definition would hold.
And the AIX headers would thus be continuously and automatically tracked.


> 	@MAINTAINER_MODE_TRUE@ *is* referenced in the Makefiles, e.g.,
> 
> $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
>         cd $(top_srcdir) && $(AUTOMAKE) --cygnus libio/Makefile
> 
> which produces errors.  I manually need to edit the Makesfiles
> substituting "#M#".

Hmmm.  That sounds like something else is going wrong.  My generated
Makefiles show nothing:

    % find . -name Makefile
    ./Makefile
    ./src/Makefile
    ./libmath/Makefile
    ./libio/Makefile
    ./libsupc++/Makefile
    % grep MAINTAINER `!!`
    % grep "@.*@" `!-2`
    ./Makefile:DLLTOOL = @DLLTOOL@
    ./Makefile:GCC_OBJDIR = @GCC_OBJDIR@
    ./Makefile:GCJ = @GCJ@
    ./Makefile:GCJFLAGS = @GCJFLAGS@
    ./Makefile:LIBSTRINGOBJS = @LIBSTRINGOBJS@
    ./Makefile:OBJDUMP = @OBJDUMP@
    ./Makefile:     @if test ! -f $@; then \
    ./Makefile:     @if test ! -f $@; then \
    ./src/Makefile:DLLTOOL = @DLLTOOL@
    ./src/Makefile:GCC_OBJDIR = @GCC_OBJDIR@
    ./src/Makefile:GCJ = @GCJ@
    ./src/Makefile:GCJFLAGS = @GCJFLAGS@
    ./src/Makefile:LIBSTRINGOBJS = @LIBSTRINGOBJS@
[... more of the same ]

since they were not generated with maint-mode on either.  Are you using
the maintainer-tools snapshot tarball thingy that Benjamin tossed out on
the ftp site?  The last full release of Autoconf&Co. has some problems
with what we're doing.


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.


More information about the Libstdc++ mailing list