[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: RE: Problem with linking libkhtml (HEAD)
From: David Faure <David.Faure () cramersystems ! com>
Date: 1999-12-09 13:10:06
[Download RAW message or body]
> Who knows nm good enough to write that script ? I only know
> that this command
> exists. ;-)
>
>
> Ciao,
> Michael
Bah, I came up with this (Linux nm only, I suppose !) :
#!/bin/sh
nm $1 | grep ' T ' | awk '{print $3;}' > lib1.symbols
nm $2 | grep ' T ' | awk '{print $3;}' > lib2.symbols
sort lib1.symbols lib2.symbols | while read a ; do if [ "$old" == "$a" ];
then echo $a; fi ; old=$a; done
I also tried grep -v '^ ' instead of grep ' T ' but then
it finds duplicates for symbols like gcc2_compiled, init_dummy, and
also template stuff (QList<sameobject>) it seems.
Better try the ' T ' one first.
This may be naive, but worth a try anyway.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic