Re: getting rid of gcc34

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Kevin Kofler wrote:
Denis Leroy wrote:
I actually maintain "compat-gcc-32-c++" here at work and am considering
submitting it for review: gcc 3.2 is even more important to C++
programmers as it works with libstdc++.so.5 (while following versions
need libstdc++.so.6). Fedora provides 'compat-libstdc++-33' for binaries
compatibility, but if you have an old binary library that uses
libstdc++.so.5, you can't use it without g++32.

-fabi-version=1

Interesting, but:

> g++32 -shared lib.cc -o libtest5.so

> g++ -fabi-version=1 main.cc -Wl,--rpath `pwd` -g -L. -ltest5 -o test5
/usr/bin/ld: warning: libstdc++.so.5, needed by ./libtest5.so, may conflict with libstdc++.so.6

> ldd test5
	libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00101000)
	libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x006e7000)
	[...]

--
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux