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, 23 Sep 2015, Peter Bergner wrote:

> 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([

No, because that's a test of linking for the host, and what you want is a 
target property not a host property, and native and cross tools for the 
same target should behave identically.

-- 
Joseph S. Myers
joseph@codesourcery.com


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