This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

preprocessor macro to identify binutils version?


Hi All,

This is my first binutils foray. I'm making use of libbfd to provide detailed stack trace in an app if it crashes. In testing I've found systems[*] with older binutils where bfd_find_nearest_line segv's. I'd like to configure my app to disable the stack trace feature on systems with the older binutils. Is there a preprocessor macro that can be used to idnetify the binutils release? if not what's the best way to determine the binutils version?

Thanks
Burlen

[*] CentOS release 5.6, nm --version ---> GNU nm 2.17.50.0.6-14.el5 20061020


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]