Re: g++-3.0 library support?
King "Leo (Martin Oberzalek)" writes:
> Hello,
>
> it's not possible linking a C++ library compiled with g++-2.9x to a C++
> application compiled with g++-3.0.
>
> We all no the reasons...
>
> My question is how I should handle this, on debian distributions that
> are based on gcc-2.9x?
use only gcc-2.95.
> I have a C++ library. And I wan't to create debs for g++.2.9x and
> g++-3.0. Technically this is no problem.
>
> I created 4 debs.
>
> 1) libfoo => shared g++-2.9x library
> 2) libfoo-dev => development files (includes, .a, docu)
> 3) libfoo-gcc3 => shared g++3.0 library
> 4) libfoo-gcc3-dev => development files (.a only, since
> include files and docu are the same)
>
> the g++-2.9x library files are called libfoo.so
> for g++-3.0 libfoo-gcc3.so
>
> The files of both packages are located in /usr/lib
how about compatibility of sonames across distributions?
> So if I wanna link an programm with the gcc-3.0 version, -lfoo-gcc3 has
> to be used and for gcc-2.9x, -lfoo.
>
> Are there any better ideas?
yes, use only one version. Which package does require this setup?
--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: