On 01/11/2024 09:52, Nick Clifton wrote: > Hi Guys, > > I recently applied a patch to the top level configure script in the > binutils-gdb repository to deprecate the ARM simulator and I would > like to apply a similar one to the GCC repository so that the two > configure systems are kept in sync. > > Any objections ? >
OK. R. > Cheers > Nick > > diff --git a/configure b/configure > index 8d031adafa8..a2e86731b08 100755 > --- a/configure > +++ b/configure > @@ -3766,6 +3766,13 @@ case "${target}" in > ;; > esac > > +# The ARM simulator has been deprecated for all ARM targets. > +case "${target}" in > + arm*-*-*) > + noconfigdirs="$noconfigdirs sim" > + ;; > +esac > + > case "${target}" in > *-*-chorusos) > ;; > @@ -3777,7 +3784,7 @@ case "${target}" in > ;; > arm-*-darwin*) > noconfigdirs="$noconfigdirs ld gas gdb gprof" > - noconfigdirs="$noconfigdirs sim target-rda" > + noconfigdirs="$noconfigdirs target-rda" > ;; > powerpc-*-darwin*) > noconfigdirs="$noconfigdirs ld gas gdb gprof" > diff --git a/configure.ac b/configure.ac > index a688e9e2425..25419a1d2ab 100644 > --- a/configure.ac > +++ b/configure.ac > @@ -991,6 +991,13 @@ case "${target}" in > ;; > esac > > +# The ARM simulator has been deprecated for all ARM targets. > +case "${target}" in > + arm*-*-*) > + noconfigdirs="$noconfigdirs sim" > + ;; > +esac > + > case "${target}" in > *-*-chorusos) > ;; > @@ -1002,7 +1009,7 @@ case "${target}" in > ;; > arm-*-darwin*) > noconfigdirs="$noconfigdirs ld gas gdb gprof" > - noconfigdirs="$noconfigdirs sim target-rda" > + noconfigdirs="$noconfigdirs target-rda" > ;; > powerpc-*-darwin*) > noconfigdirs="$noconfigdirs ld gas gdb gprof" >