This is the mail archive of the gcc@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]

possible bug with libstdc++ in gcc4.3 20080215 linked to old user /usr/lib/libgcc_s.1.dylib


I installed gcc4.3 20080215 on os x10.5.2 using macports

The configure arguments (with prefix = /opt/local) are:
47	configure.args  --enable-languages=c,c++,objc,obj-c++ \
48	                --libdir=${prefix}/lib/${name} \
49	                --includedir=${prefix}/include/${name} \
50	                --infodir=${prefix}/share/info \
51	                --mandir=${prefix}/share/man \
52	                --with-local-prefix=${prefix} \
53	                --with-system-zlib \
54	                --disable-nls \
55	                --program-suffix=-mp-${major} \
56	                --with-gxx-include-dir=${prefix}/include/${name}/c++/ \
57	                --with-gmp=${prefix} \
58	                --with-mpfr=${prefix}

 % otool -L /opt/local/lib/gcc43/libstdc++.6.dylib
gives:

/opt/local/lib/gcc43/libstdc++.6.dylib:
	/opt/local/lib/gcc43/libstdc++.6.dylib (compatibility version 7.0.0,
current version 7.10.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 111.0.0)
	/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)

So /opt/local/lib/gcc43/libstdc++.6.dylib is linked to the old, system
/usr/lib/libgcc_s.1.dylib instead of to the new
/opt/local/lib/gcc43/libgcc_s.1.dylib

Is this the correct behaviour?


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