This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Oddity building 3.2.2 on AIX 4.3.2
On Feb 9, 2003, Albert Chin <gcc@lists.thewrittenword.com> wrote:
> However, whenever the above code is run, the output of
> toolexeclibdir=$toolexeclibdir/... is *always* the usage output from
> the C compiler.
Oops. Would you please try this patch? (in case you don't know, you
have to rebuild configure after installing it, or apply it on
configure too)
Sorry that I broke it :-(
--- zlib/configure.in.~1.12.16.1.4.1.~ 2003-01-27 21:12:31.000000000 -0200
+++ zlib/configure.in 2003-02-13 05:52:23.000000000 -0200
@@ -121,7 +121,12 @@ else
toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
toolexeclibdir='$(libdir)'
fi
-toolexeclibdir=$toolexeclibdir/`$CC -print-multi-os-directory 2>/dev/null || echo .`
+if test "$GCC" = yes && $CC -print-multi-os-directory > /dev/null 2>&1; then
+ multiosdir=/`$CC -print-multi-os-directory`
+else
+ multiosdir=
+fi
+toolexeclibdir=${toolexeclibdir}${multiosdir}
AC_SUBST(toolexecdir)
AC_SUBST(toolexeclibdir)
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist Professional serial bug killer