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

Joseph Myers joseph@codesourcery.com
Thu Sep 24 01:27:00 GMT 2015


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



More information about the Libc-alpha mailing list