This is the mail archive of the libc-alpha@sourceware.org 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]

Re: [PATCHv3] powerpc: ABI change - add HWCAP/HWCAP2/platform info to TCB


On Wed, 2015-09-23 at 23:45 +0000, Joseph Myers wrote:
> I'm not clear on whether your configure test is meant to be in the gcc/ 
> directory or in libgcc/.  In gcc/, it's not possible to do compile or link 
> tests for the target at all - all you can do is examine headers for the 
> target (which may or may not be available either).

I was thinking of a gcc/ configure test.  Can't I just add a test
using something likethe following?

  AC_LINK_IFELSE([
void *dummy = &__init_hwcapinfo;
int main(void) {return 0;}
], ..., ...)

Maybe even guarded by some "case $host in ... powerpc*-*-*)" test ?


Peter



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