Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Joel Sherrill <joel.sherrill@oarcorp.com>
To: Mike Frysinger <vapier@gentoo.org>
Cc: Joel Brobecker <brobecker@adacore.com>,
	 Ralf Corsepius <ralf.corsepius@rtems.org>,
	"gdb@sourceware.org" <gdb@sourceware.org>
Subject: Re: [gdb-7.5.91] mips sim fails to build on mingw32
Date: Sun, 17 Mar 2013 01:13:00 -0000	[thread overview]
Message-ID: <514518B9.4070506@oarcorp.com> (raw)
In-Reply-To: <201303161927.31479.vapier@gentoo.org>

[-- Attachment #1: Type: text/plain, Size: 959 bytes --]

Hi

Thanks for the pointers.

I have done some minimal testing on this. I built it on
CentOS 6.x with and without the --enable-sim-hardware
option. The patch is against the 7.5.91 snapshot which
should be close enough.

It is based off of bfin.

2013-03-16  Joel Sherrill <joel.sherrill@oarcorp.com>

     * configure.ac: Avoid use of dv-sockser on *mingw32*
     * aclocal.m4: Regenerated.
     * configure: Regenerated.

--joel



On 3/16/2013 6:27 PM, Mike Frysinger wrote:
> On Saturday 16 March 2013 14:48:12 Joel Sherrill wrote:
>> But I don't know how to regenerate the configure script in gdb. I see
>> I need autoconf 2.64 but what's the magic incantation.
> i do:
> 	cd sim/mips
> 	aclocal
> 	autoconf
> -mike


-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel.sherrill@OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
Support Available                (256) 722-9985


[-- Attachment #2: mips_diff.txt --]
[-- Type: text/plain, Size: 993 bytes --]

2013-03-16  Joel Sherrill <joel.sherrill@oarcorp.com>

	* configure.ac: Avoid use of dv-sockser on *mingw32*
	* aclocal.m4: Regenerated.
	* configure: Regenerated.

diff -uNr gdb-7.5.91-virgin/sim/mips/configure.ac gdb-7.5.91/sim/mips/configure.ac
--- gdb-7.5.91-virgin/sim/mips/configure.ac	2013-01-01 00:41:39.000000000 -0600
+++ gdb-7.5.91/sim/mips/configure.ac	2013-03-16 13:38:42.800403652 -0500
@@ -418,9 +418,23 @@
   *)
 	;;
 esac
+
 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*) ;;
+  *)
+    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)
 
 
 # Choose simulator engine

  parent reply	other threads:[~2013-03-17  1:13 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-15 18:38 Joel Sherrill
     [not found] ` <5143F627.3030905@rtems.org>
2013-03-16  6:56   ` Ralf Corsepius
2013-03-16 15:08     ` Joel Sherrill
2013-03-16 18:11       ` Joel Brobecker
2013-03-16 18:48         ` Joel Sherrill
2013-03-16 23:24           ` Mike Frysinger
2013-03-17  1:03             ` Joel Brobecker
2013-03-17 15:10               ` Mike Frysinger
2013-03-17  1:13             ` Joel Sherrill [this message]
2013-03-17 15:09               ` Mike Frysinger
2013-03-17 16:02               ` Joel Brobecker
2013-03-17 16:11                 ` Joel Sherrill
2013-03-17  4:16       ` Ralf Corsepius
2013-03-17 16:05         ` Joel Sherrill
     [not found]           ` <201303181405.55098.vapier@gentoo.org>
2013-03-20 17:51             ` Joel Sherrill
2013-03-20 18:29               ` Mike Frysinger
2013-03-20 18:48                 ` Joel Sherrill
2013-03-27 11:21           ` Pedro Alves
2013-03-27 17:00             ` Mike Frysinger
  -- strict thread matches above, loose matches on Subject: below --
2013-03-12 23:17 GDB 7.5.91 available for testing Joel Brobecker
     [not found] ` <5140894E.6000308@oarcorp.com>
2013-03-15 12:52   ` [gdb-7.5.91] mips sim fails to build on mingw32 Ralf Corsepius
2013-03-15 18:13     ` Mike Frysinger
2013-03-15 18:32       ` Ralf Corsepius

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=514518B9.4070506@oarcorp.com \
    --to=joel.sherrill@oarcorp.com \
    --cc=brobecker@adacore.com \
    --cc=gdb@sourceware.org \
    --cc=ralf.corsepius@rtems.org \
    --cc=vapier@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox