public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* MinGW build failure for mips-elf
@ 2008-04-09  8:30 Hans Kester
  2008-04-09 17:38 ` Keith Seitz
  0 siblings, 1 reply; 2+ messages in thread
From: Hans Kester @ 2008-04-09  8:30 UTC (permalink / raw)
  To: insight

When building Insight 6.8 on MinGW/MSYS for a mips-elf target you get
the follwing error:

../../../../insight-6.8/sim/mips/../common/sim-signal.c: In function
`sim_signal_to_host':
../../../../insight-6.8/sim/mips/../common/sim-signal.c:60: error:
`SIGTRAP' undeclared (first use in this function)
../../../../insight-6.8/sim/mips/../common/sim-signal.c:60: error:
(Each undeclared identifier is reported only once
../../../../insight-6.8/sim/mips/../common/sim-signal.c:60: error: for
each function it appears in.)
make[3]: *** [sim-signal.o] Error 1
make[3]: Leaving directory `/gcc/build-mips-elf/insight/sim/mips'
make[2]: *** [all] Error 1
make[2]: Leaving directory `/gcc/build-mips-elf/insight/sim'
make[1]: *** [all-sim] Error 2
make[1]: Leaving directory `/gcc/build-mips-elf/insight'
make: *** [all] Error 2

This can be fixed by patching sim/common/sim-signal.c @ 29:
- #ifdef _MSC_VER
+ #ifdef _WIN32

I don't know if that breaks builds on other hosts, but it works for MinGW.
Could someone patch this at the right places?

Regards,

Hans Kester

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: MinGW build failure for mips-elf
  2008-04-09  8:30 MinGW build failure for mips-elf Hans Kester
@ 2008-04-09 17:38 ` Keith Seitz
  0 siblings, 0 replies; 2+ messages in thread
From: Keith Seitz @ 2008-04-09 17:38 UTC (permalink / raw)
  To: Hans Kester; +Cc: insight

Hans Kester wrote:

> This can be fixed by patching sim/common/sim-signal.c @ 29:
> - #ifdef _MSC_VER
> + #ifdef _WIN32
> 
> I don't know if that breaks builds on other hosts, but it works for MinGW.
> Could someone patch this at the right places?

You must send a proper patch submission to the proper maintainer. 
According to src/sim/MAINTAINERS, patches should be submitted to the gdb 
mailing list.

Keith

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-04-09 17:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-09  8:30 MinGW build failure for mips-elf Hans Kester
2008-04-09 17:38 ` Keith Seitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).