[patch] binutils current: libiberty/configure and --with-build-subdir

DJ Delorie dj@redhat.com
Mon Feb 4 13:13:00 GMT 2002


> How do you know the target libiberty works? Have you tried it with
> gcc? binutils doesn't build the target libiberty when host != build.

GCC builds a target libiberty pretty much every build, and I've seen
reports that "./configure" is now working.

> That is why install.sh can't be found. You basically did
> 
> # cd obj-i686-pc-linux/libiberty
> # copy ../../libiberty .
> # ./configure .....
>
> How can it work? Please try it yourself. You will see what I mean.

It should be more like this:

mkdir i686-pc-linux/libiberty
cd i686-pc-linux/libiberty
../../libiberty/configure ...

If done that way, it should get srcdir right, and configure should
work.



More information about the Binutils mailing list