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


On Mon, Feb 04, 2002 at 01:39:15PM -0500, DJ Delorie wrote:
> 
> You can't just change the option; --with-target-subdir causes changes
> in what's inside libiberty.a and triggers the multilib code.
> Libiberty really needs to properly understand --with-build-subdir if
> you want it to work that way.
> 
> However, try configuring in a different directory and use an absolute
> path to configure, and see if that makes a difference.
> 
> Another consideration is that $srcdir may be improperly set, which
> would need to be fixed first (or also).

The problem is

            if [ "$(srcdir)" = "." ] ; then \
              if [ "$(BUILD_SUBDIR)" != "." ] ; then \
                if $(SHELL) $$s/symlink-tree $${topdir}/$${dir} "no-such-file"
 ; then \
 
It is bogus. You only duplicate the sub tree. However, to configure
that directory, you also need install-sh, config.guess, config.sub, ...
from the top level. Basically, you may have to duplicate the whole tree
under $(BUILD_SUBDIR). But do you really want to do that?


H.J.


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