This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Can't build mips-elf-run on OSX


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]