NewB: building binutils-cvs

Daniel Jacobowitz drow@false.org
Fri Apr 2 15:06:00 GMT 2004


On Fri, Apr 02, 2004 at 09:35:47PM +1000, Russell Shaw wrote:
> Alan Modra wrote:
> >On Fri, Apr 02, 2004 at 09:04:06PM +1000, Russell Shaw wrote:
> >
> >>The cvs download has src/bfd, which i assume needs to be built, but
> >>it has no configure or makefile. How do i build it?
> >
> >By the sound of things, you ran configure one directory too deep.  Try
> >the configure one directory up from where you tried last time.
> 
> Hi,
> I tried the top level src/configure last time, but thought it hung
> at "creating Makefile". I left it for half a minute or more this
> time, and it completed. It was spending 50% cpu time running sed.

You're running Debian unstable or testing.  It's a bug in the glibc
regex engine... I think it may be fixed in later CVS versions of glibc,
but we'll have to live with it for sarge.

> I want to build:
> 
>   src/binutils/configure --prefix=/usr/local/avr --program-prefix=avr-
>                              --disable-nls --target=avr
> 
> However, src/configure --help  doesn't show a --disable-nls option. Will
> it get passed to the binutils build phase, or should i build the tools
> separately?

It will get passed down.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer



More information about the Binutils mailing list