Re: [patch] sim/erc32/ max simulation time extended by using 64bit ints

Joel Brobecker
2010-05-17T16:50:40Z

> > Unfortunately, this change breaks the build when stdint.h is not
> > available (Eg. sparc-solaris).
>
> How old is this solaris?

It's solaris 2.8.

> > Doug: Would that be OK to commit? I think that the cleanest thing to do
> > Â  Â  Â here would be to have some configury that would provide our own
> > Â  Â  Â stdint.h when missing. Â We already do that for GDB by using gnulib
> > Â  Â  Â so perhaps one way to do so would be to share the gnulib between
> > Â  Â  Â GDB and the sim (probably meaning moving it to the root directory).
>
> For reference sake, there's bfd_stdint.h generated by
> config/stdint.m4. I don't know all that it handles, but again gdb
> itself just includes stdint.h unconditionally.

This is because GDB relies on gnulib providing stdint.h for us if
the system doesn't already provide it. See gdb/gnulib/.

--
Joel