On Wednesday 01 September 2010 18:32:11 Tim St. Clair wrote:
> Phil -
>
> Thanks for the feedback, I was able to create a macro which uses try_run
> to detect.
you can also run /lib64/libc.so.6 to detect/parse glibc version info.
$ /lib64/libc.so.6
GNU C Library stable release version 2.12.1
Phil -
Thanks for the feedback, I was able to create a macro which uses try_run
to detect.
Cheers,
Tim
On Tue, Aug 31, 2010 at 11:05 PM, Philip Lowman wrote:
> On Tue, Aug 31, 2010 at 3:01 PM, Tim St. Clair wrote:
>
>> Is there a handy dandy marco for detecting libc details (e.g. version)
On Tue, Aug 31, 2010 at 3:01 PM, Tim St. Clair wrote:
> Is there a handy dandy marco for detecting libc details (e.g. version).
Probably not. You can use preprocessor checks though.
glibc:
http://predef.sourceforge.net/prelib.html#sec3
gcc:
http://predef.sourceforge.net/precomp.html#sec15
H
Is there a handy dandy marco for detecting libc details (e.g. version).
--
Cheers,
Timothy St. Clair
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-