This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]