Question about another IA64 HP-UX build problem

Daniel Jacobowitz drow@false.org
Fri May 6 02:21:00 GMT 2005


On Thu, May 05, 2005 at 04:25:38PM -0700, Steve Ellcey wrote:
> > getc_unlocked isn't used anywhere else in binutils simply because no one
> > else has found a need for it, or perhaps, the idea of using it hasn't
> > occurred to anyone else yet.
> > -- 
> > Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com
> 
> Here is the patch I came up with to address the getc_unlocked problem.
> The problem is that HAVE_GETC_UNLOCKED is true (because HP-UX has it)
> but the declaration isn't seen because we didn't compile with
> -D_REENTRENT, thus we get a no-declaration error.  Tested on IA64 HP-UX.

If you're going to use BFD_NEED_DECLARATION, please use it to provide
the declaration instead :-)

-- 
Daniel Jacobowitz
CodeSourcery, LLC



More information about the Binutils mailing list