This is the mail archive of the binutils@sources.redhat.com 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: [patch] binutils current: libiberty/configure and --with-build-subdir



> That is the toplevel Makefile. For the in-tree build, srcdir is always
> ".". You check if [ "$(srcdir)" = "." ] to see if it is an in-tree
> build. If it is, you have to duplicate the source tree for the build
> directory. Otherwise, you don't need to duplicate the source tree. You
> can use VPATH in this case. Did I miss something?

Ok, I thought you meant that was what you were seeing in libiberty.
That code is copied verbatim from the target code, and the target
libiberty builds.  Why is the build code different?

> configure: error: can not find install-sh or install.sh in ./.. ././..
> make: *** [configure-build-libiberty] Error 1

This message indicates that $(srcdir) is "./." for the
build-libiberty, which is wrong.  It should include ".." somewhere.
Probably "../../libiberty".


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