This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: [gdb-7.5.91] mips sim fails to build on mingw32
> 2013-03-16 Joel Sherrill <joel.sherrill@oarcorp.com>
>
> * configure.ac: Avoid use of dv-sockser on *mingw32*
> * aclocal.m4: Regenerated.
> * configure: Regenerated.
[...]
> +
> SIM_AC_OPTION_HARDWARE($hw_enabled,$hw_devices,$hw_extra_devices)
> -mips_extra_objs="dv-sockser.o"
> -AC_SUBST(mips_extra_objs)
> +
> +mips_extra_objs=
> +dnl make sure the dv-sockser code can be supported (i.e. windows)
> +case ${host} in
> + *mingw32*) ;;
I would change that to *mingw*. We might get mingw64 someday...
> + *)
> + AC_DEFINE_UNQUOTED([HAVE_DV_SOCKSER], 1, [Define if dv-sockser is usable.])
> + mips_extra_objs="${mips_extra_objs} dv-sockser.o"
> + ;;
> +esac
> +
> +AC_SUBST([mips_extra_objs], ${mips_extra_objs})
> +
> +## mips_extra_objs="dv-sockser.o"
> +## AC_SUBST(mips_extra_objs)
Can you also remove the commented-out code?
--
Joel