I am trying to find a way to identify object files so that I can check
that all the objects in one archive(library) have the same version.
I have looked at using the rcsid tags and ident put these get stripped
out by the compiler when I use any level of optimisation. Is there any
way of doing this automatically, and it must be portable so #pragma's
is not the way to go.
I have seen the suggestion in the ident man pages about changing the
final return statement , to try and force the symbol to be used but this
not suitable for my requirements and is a really ugly solution.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!