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

Re: [Offtopic] C++-coded-packages

> Luis Francisco Gonzalez wrote:
> > I would like to know which debian-packages are originally coded in C++. Would
> > it be possible for people that maintain anything written in C++ to send me
> > an email?
> Correct me if I'm wrong

OK, Here I go.

> , but if it uses c++, won't it end up depending on
> libg++ (or libg++27, etc)? 

Only if you use stuff from the c++ libraries. If you don't use that,
you will not depend on libg++27*:

  rulcmc:~/rommel$ cat c.cc
  class a{
    int c;
    void d(int i=0){c=3;};
  int main(){
    a b;
    return b.c; 
  rulcmc:~/rommel$ gcc -o c c.cc
  rulcmc:~/rommel$ ldd c
  	  libc.so.6 => /lib/libc.so.6 (0x4000f000)
  	  /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
  rulcmc:~/rommel$ ./c
  rulcmc:~/rommel$ echo $?

Having said that, this is actually rather uncommon. I *think* dpkg/dselect
used to have this (apparently more recent versiond don't any more), but
usually one wants to us the stuff from libg++. So, if you just search
for every package that (pre)depends on libg++, you should have a pretty
good list. So, the question would better be:

  Would it be possible for people that maintain anything written in C++
  but that does not depend on libg++-27* to send me an email? 

I do still wonder, why would he want that list?

joost witteveen, joostje@debian.org
#!/usr/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
#what's this? see http://www.dcs.ex.ac.uk/~aba/rsa/

TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .

Reply to: