Can't build mips-elf-run on OSX

Masaki Muranaka monaka@monami-software.com
Fri Jan 8 00:18:00 GMT 2010


Hello Nick,

Thanks for your comment. I figured out after sending that mail, so I already sent a patch to gdb-patches ML.
As you say, this issue is caused by sim/mips.

Thanks,

On 2010/01/08, at 1:37, Nick Clifton wrote:

> 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