[Bug other/56780] New: --disable-install-libiberty still installs libiberty.a

matthew at linuxfromscratch dot org gcc-bugzilla@gcc.gnu.org
Fri Mar 29 13:24:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56780

             Bug #: 56780
           Summary: --disable-install-libiberty still installs libiberty.a
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: matthew@linuxfromscratch.org


I'd like to build GCC with --disable-install-libiberty so that the version of
libiberty.a provided by Binutils that is already installed will not be
overwritten.  However, the libiberty.a library is still installed even with
that flag specified.

My full configure invocation (run from within ~/gcc-build) is:

../gcc-4.8.0-version;/configure --prefix=/usr \
  --libexecdir=/usr/lib       \
  --enable-shared             \
  --enable-threads=posix      \
  --enable-__cxa_atexit       \
  --enable-clocale=gnu        \
  --enable-languages=c,c++    \
  --disable-multilib          \
  --disable-bootstrap         \
  --disable-install-libiberty \
  --with-system-zlib

Additionally, libiberty's configure script's help output states:

' --enable-install-libiberty       Install headers for end users'

For clarity, that should probably read: 'Install headers and static library for
end users'.  That way, it's in agreement with what is also mentioned in
libiberty.texi.

Thanks,

Matt.



More information about the Gcc-bugs mailing list