I'm sure plenty will look down their nose at me for asking in thisforum(mailing list) ...but I recall a tool for checking libraries and build options (libtool libraries only maybe) ...I can't recall how or where, or think what to feed google (The architecture I'm building on is amd64 if thatstirs up any ideas)
'gcc -v' will give you the information on how the system gcc was configured.
-eric