This is the mail archive of the mailing list for the GCC project.

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

Re: zlib multilib on host?

On Sep  6, 2000, David Edelsohn <> wrote:

> By default, zlib configures as multilib.  Why is this correct for
> the gcc bulid and host?

It's certainly unnecessary, but nobody had cared about fixing it so
far.  Please try this patch:

Index: zlib/ChangeLog.gcj
from  Alexandre Oliva  <>

	* (multilib): Enable by default only for target.

Index: zlib/
RCS file: /cvs/gcc/egcs/zlib/,v
retrieving revision 1.6
diff -u -p -r1.6
--- zlib/ 2000/09/03 19:54:20 1.6
+++ zlib/ 2000/09/06 18:25:55
@@ -22,7 +22,7 @@ AC_ARG_ENABLE(multilib,
   yes) multilib=yes ;;
   no)  multilib=no ;;
   *)   AC_MSG_ERROR(bad value ${enableval} for multilib option) ;;
- esac], [multilib=yes])dnl
+ esac], [test -z "$with_target_subdir" && multilib=no || multilib=yes])dnl
 dnl We may get other options which we dont document:
 dnl --with-target-subdir, --with-multisrctop, --with-multisubdir

Alexandre Oliva   Enjoy Guarana', see
Red Hat GCC Developer                  aoliva@{,}
CS PhD student at IC-Unicamp        oliva@{,}
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]