Arthur Wiebe wrote:
Another way to do it which is what I did was use the following command:
locate plibfnt
It returned:
/fgfs/lib/libplibfnt.a
/Users/myuser/FlightGear/plib/src/fnt/libplibfnt.a
"(s)locate" doesn't really "browse" your file system, as 'find' would
do - rather, (s)locate runs a query against a simple database,
if that database is not in sync with your local file system, it can
very well happen, that (s)locate returns results that don't resemble
the actual situation on your hard disk, hence it is recommended that
you either use 'find' directly or simply run a 'updatedb' in order to
synchronize the database with your file system - which may take quite
a while, depending on your file system structure.
Also, you won't have to do a manual search for any references of 'load',
you can easily use 'grep' for that, too - something like:
nm library.a | grep -i font | grep -i load | less
would return all results that contain a "font" AND a "load"
reference, limiting the search in such a manner would probably
also make the piping to less superfluous.
Using some clever sed'ing could even take care of automatically
comparing object file exports and library exports.
---------
Boris
_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d