Can't build mips-elf-run on OSX

Nick Clifton nickc@redhat.com
Thu Jan 7 16:43:00 GMT 2010


Hi Masaki,

> 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.

This sounds like a problem with the configure script in the sim/mips 
directory - presumably it should be including a check of the stpcpy 
function.

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

Me too - so it would appear to be unnecessary.  Please note however that 
I cannot approved such a change - you need a GDB maintainer for that. 
Thiemo is listed as the sim/mips maintainer...

Cheers
   Nick



More information about the Binutils mailing list