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

C++ libraries



Hello list,


I have two questions about packaging C++ libraries.

1) Currently my packages Build-Depend on libstdc++-dev. Is it legal to just 
remove this Build-Depend ? I saw that build-essential depends on g++ which 
depends on gcc-2.95 (currently) which depends on libstdc++-dev.

2) The library I package doesnt depend on libstdc++.... after building. It 
seems the library is linked wrong. ldd on it shows the following:

libc.so.6 => /lib/libc.so.6 (0x40028000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

2) I tried to convince the build system to link  with g++ instead of gcc. The 
package uses autoconf/automake/libtool. Can somebody give me some hints how 
to link it correctly or how do I get the correct libstdc++ dependency 
automatically.


Thanx in advance,
Michael



Reply to: