This is the mail archive of the gcc-help@gcc.gnu.org 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]
Other format: [Raw text]

Where should libiberty.a be installed?


Hi,

when building with the following config (suspected relevant lines marked with <<<<<****):

--prefix=/usr  <<<<<****
--build=powerpc-apple-darwin8
--enable-languages=c,c++,objc,obj-c++,fortran
--with-slibdir='\$\${prefix}/lib'  <<<<<****
--with-gmp=/path/2/gmp
--with-mpfr=/path/2/mfpr
 --enable-threads
--disable-nls
--enable-version-specific-runtime-libs   <<<<<****
--mandir='\$\${prefix}/share/man'
--infodir='\$\${prefix}/share/info'
--program-suffix=-4.3.1
--enable-checking=yes
--enable-serial-configure
--host=powerpc-apple-darwin8
--target=powerpc-apple-darwin8
--enable-werror
--enable-bootstrap

libiberty.a ends up in /usr/lib (and the multilib in /usr/lib/ppc64)

[[ with the cross-target version it ends up in /usr/target-apple- darwin/lib/ (and m64 in usr/target-apple-darwin/lib/x86_64/ )]]

This appears to be ignoring the "--enable-version-specific-runtime- libs" flags (which is honored AFAICT by all the other libs).

(the example is from 4.3.1 apple-darwin8
but this applies to every build I've tried so far => 4.2.1, 4.2.4, 4.3.1-branch and 4.4.0-trunk;
i686-apple-darwin8 and
powerpc-apple-darwin9
)


Is this an installation bug ?
or is there some reason that libiberty.a should be treated differently from, say, libssp.a?


ttfn,
Iain


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