Re: eglibc and fun with config.sub

2011-09-19 Thread Joseph S. Myers
On Mon, 19 Sep 2011, David Gilbert wrote: >1) Add armv6/v7 to config.sub Which makes sense anyway (in upstream config.git) as of use to anyone who might wish to use such target triplets, in any project using autoconf. > A bit of digging however led me to find that neither gcc or binutils >

Re: eglibc and fun with config.sub

2011-09-19 Thread David Gilbert
On 19 September 2011 00:48, Michael K. Edwards wrote: > Please coordinate with Jon Masters at RedHat/Fedora and Adam Conrad at > Ubuntu/Debian on this.  (Cc'ing the cross-distro list, through which the > recent ARM summit at Linux Plumbers was organized.) OK, let me summarise for the new people o

Re: eglibc and fun with config.sub

2011-09-18 Thread Michael K. Edwards
Please coordinate with Jon Masters at RedHat/Fedora and Adam Conrad at Ubuntu/Debian on this. (Cc'ing the cross-distro list, through which the recent ARM summit at Linux Plumbers was organized.) Cheers, - Michael On Sep 16, 2011 8:41 AM, "David Gilbert" wrote: > OK, so we seem to have agreement

Re: eglibc and fun with config.sub

2011-09-16 Thread David Gilbert
OK, so we seem to have agreement here that what we want is autodetect for eglibc and forget about the triplet; well technically that probably makes my life easier, and I don't think it's too hard a sell. Dave ___ linaro-toolchain mailing list linaro-too

Re: eglibc and fun with config.sub

2011-09-16 Thread Richard Earnshaw
On 16/09/11 15:12, Ulrich Weigand wrote: > Richard Sandiford wrote: >> David Gilbert writes: >>> My current patch: >>> * adds armv6 and armv7 to config.sub >>> * adds arm/eabi/armv7 and arm/eabi/armv6t2 and one assembler >>> routine in there. >>> * If $machine is just 'arm' then it autode

Re: eglibc and fun with config.sub

2011-09-16 Thread Ulrich Weigand
Richard Sandiford wrote: > David Gilbert writes: > > My current patch: > > * adds armv6 and armv7 to config.sub > > * adds arm/eabi/armv7 and arm/eabi/armv6t2 and one assembler > > routine in there. > > * If $machine is just 'arm' then it autodetects from gcc's #defines > > * else if $m

Re: eglibc and fun with config.sub

2011-09-16 Thread Richard Sandiford
Sounds good to me FWIW. Just one comment... David Gilbert writes: > My current patch: > * adds armv6 and armv7 to config.sub > * adds arm/eabi/armv7 and arm/eabi/armv6t2 and one assembler > routine in there. > * If $machine is just 'arm' then it autodetects from gcc's #defines > * else

eglibc and fun with config.sub

2011-09-15 Thread David Gilbert
As mentioned on the standup call this morning, I've been trying to get my head around the way different parts of the toolchain using the config scripts and the triplets. I'd appreciate some thoughts on what the right thing to do is, especially since there was some unease at some of the ideas. My