This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc 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]

Accessing HWCAP on PowerPC?


I was directed here by benh. I really hope someone here has an answer as I've spent a couple hours searching around the web and the glibc 2.3.3 source. Simply, how do I access AT_HWCAP from a library (i.e., can't get the auxvec passed to main)?

I tried just accessing _dl_hwcap, but the link fails. Do I just need some "decorations" on the extern? Am I barking up the right tree?

Thanks.


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