Package: dpkg-dev
Version: 1.16.7ubuntu6
Severity: wishlist

I am packaging a library implemented in C++ .
During my effort to generate sane symbol files for it, I saw that C++ symbols
differ among architectures.

One way to avoid having different symbols files for each architecture is to use
the demangled names for C++ methods.
Currently, I use this command in order to achieve it:
for file in *.symbols; do c++filt < $file |sed 's/^ \(.*\(::\| \|)\).*\) \([^
]\+\)/ (c++)"\1" \3/' > $file.demangled; done

Would it be possible to have dpkg-gensymbols generate c++ demangled names
automatically?
This could be specified by an argument, e.g. dpkg-gensymbols -x

Thanks



-- System Information:
Debian Release: wheezy/sid
  APT prefers quantal-updates
  APT policy: (500, 'quantal-updates'), (500, 'quantal-security'), (500,
'quantal-proposed'), (500, 'quantal'), (100, 'quantal-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.5.0-22-generic (SMP w/4 CPU cores)
Locale: LANG=el_GR.UTF-8, LC_CTYPE=el_GR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dpkg-dev depends on:
ii  base-files    6.5ubuntu12
ii  binutils      2.22.90.20120924-0ubuntu2
ii  bzip2         1.0.6-4
ii  libdpkg-perl  1.16.7ubuntu6
ii  make          3.81-8.2ubuntu2
ii  patch         2.6.1-3ubuntu1
ii  xz-utils      5.1.1alpha+20120614-1

Versions of packages dpkg-dev recommends:
ii  build-essential          11.5ubuntu3
ii  fakeroot                 1.18.4-2
ii  gcc [c-compiler]         4:4.7.2-1ubuntu2
ii  gcc-4.6 [c-compiler]     4.6.3-10ubuntu1
ii  gcc-4.7 [c-compiler]     4.7.2-2ubuntu1
ii  gnupg                    1.4.11-3ubuntu4.1
ii  gpgv                     1.4.11-3ubuntu4.1
ii  libalgorithm-merge-perl  0.08-2

Versions of packages dpkg-dev suggests:
ii  debian-keyring  2012.06.01


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to