Where should libiberty.a be installed?

IainS developer@sandoe-acoustics.co.uk
Mon Jun 2 19:30:00 GMT 2008


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



More information about the Gcc-help mailing list