Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* Can't build mips-elf-run on OSX
@ 2010-01-06 11:28 Masaki Muranaka
  2010-01-07  0:09 ` [patch] " Masaki Muranaka
  2010-01-07 16:43 ` Nick Clifton
  0 siblings, 2 replies; 8+ messages in thread
From: Masaki Muranaka @ 2010-01-06 11:28 UTC (permalink / raw)
  To: gdb-patches, binutils

Hello maintainers,

I failed to build mips-elf-run on OSX (x86_64-apple-darwin10.2.0) host.
Error log is below.

The immediate cause is that stpcpy is defined as macro on OSX host.
But there seems have a general issue.

It is required config.h by bfd/sysdep.h. This should be bfd/config.h.
But gcc (at least apple's genuine build) includes sim/mips/config.h.
So definitions in bfd/config.h like HAVE_DECL_STPCPY is not defined.

To begin with, sim/mips/interp.c needs bfd/sysdep.h? 
I could built interp.c successfully without bfd/sysdep.h on my environment.

Thanks,

- - -
In file included from ../../../pf3gnuchains4x/sim/mips/interp.c:67:
../../../pf3gnuchains4x/sim/mips/../..//bfd/sysdep.h:135: error: expected declaration specifiers or ‘...’ before numeric constant
../../../pf3gnuchains4x/sim/mips/../..//bfd/sysdep.h:135: error: expected ‘)’ before ‘!=’ token
../../../pf3gnuchains4x/sim/mips/../..//bfd/sysdep.h:135: error: expected ‘)’ before ‘?’ token
make[2]: *** [interp.o] Error 1
make[1]: *** [all] Error 1
make: *** [all-sim] Error 2
- - -
--
Masaki Muranaka
Monami software



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

end of thread, other threads:[~2010-01-18  4:17 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-06 11:28 Can't build mips-elf-run on OSX Masaki Muranaka
2010-01-07  0:09 ` [patch] " Masaki Muranaka
2010-01-18  0:41   ` [ping] " Masaki Muranaka
2010-01-18  3:27   ` Joel Brobecker
2010-01-18  4:14     ` Masaki Muranaka
2010-01-18  4:17       ` Joel Brobecker
2010-01-07 16:43 ` Nick Clifton
2010-01-08  0:18   ` Masaki Muranaka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox