Message ID | 4F4D0774.4030807@arm.com |
---|---|
State | New |
Headers | show |
On Tue, 28 Feb 2012, Richard Earnshaw wrote:
> Here's an updated patch and a suggested web-page patch:
uClinux targets do not have -gnu in their target triplets.
You missed the WinCE port from the list in the webpage patch of ports
being deprecated for using FPA floating-point format and lacking a modern
alternative using VFP format. (The config.gcc patch also got the triplet
for WinCE wrong - it's arm*-wince-pe* not arm*-*-wince*. Though ISTR the
more functional port that hasn't been contributed to FSF GCC uses some
other triplet.)
On 02/28/2012 05:10 PM, Joseph S. Myers wrote: > On Tue, 28 Feb 2012, Richard Earnshaw wrote: > >> Here's an updated patch and a suggested web-page patch: > > uClinux targets do not have -gnu in their target triplets. > > You missed the WinCE port from the list in the webpage patch of ports > being deprecated for using FPA floating-point format and lacking a modern > alternative using VFP format. (The config.gcc patch also got the triplet > for WinCE wrong - it's arm*-wince-pe* not arm*-*-wince*. Though ISTR the > more functional port that hasn't been contributed to FSF GCC uses some > other triplet.) Right, it uses arm-*-mingw32ce, and arm-*-cegcc (kind of like mingw vs cygwin). One of earliest local changes was to to flip to using VFP by default (and float-abi=soft), as that's all we care about for anything remotely modern. I never saw any WinCE device or emulator that supported FPA. Maybe I'll find the time and motivation to push the port to the FSF in the next release cycle. Desktop Windows on ARM is around to corner too, so I'm sure if I don't make it myself, someone will end up resurrecting the ARM PE support soon enough.
--- config.gcc (revision 184639) +++ config.gcc (local) @@ -242,7 +242,18 @@ md_file= # Obsolete configurations. case ${target} in + # Avoid special cases that are not obsolete + arm*-*-*eabi* \ + ) + ;; alpha*-dec-osf5.1* \ + | arm*-*-ecos-elf \ + | arm*-*-elf \ + | arm*-*-freebsd* \ + | arm*-*-linux* \ + | arm*-*-rtems* \ + | arm*-*-uclinux* \ + | arm*-*-wince* \ | mips-sgi-irix6.5 \ | mips*-*-openbsd* \ | score-* \ @@ -3043,12 +3054,20 @@ case "${target}" in case "$with_fpu" in "" \ - | fpa | fpe2 | fpe3 | maverick | vfp | vfp3 | vfpv3 \ + | vfp | vfp3 | vfpv3 \ | vfpv3-fp16 | vfpv3-d16 | vfpv3-d16-fp16 | vfpv3xd \ | vfpv3xd-fp16 | neon | neon-fp16 | vfpv4 | vfpv4-d16 \ | fpv4-sp-d16 | neon-vfpv4) # OK ;; + fpa | fpe2 | fpe3 | maverick) + if test "x$enable_obsolete" != xyes; then + echo "*** Configuration option --with-fpu=${with_fpu} is obsolete." >&2 + echo "*** Specify --enable-obsolete to build it anyway." >&2 + echo "*** Support will be REMOVED in the next major release of GCC." >&2 + exit 1 + fi + ;; *) echo "Unknown fpu used in --with-fpu=$with_fpu" 2>&1 exit 1