Problems with using libtool dependencies in opcodes

Daniel Jacobowitz drow@mvista.com
Wed Mar 10 01:04:00 GMT 2004


On Tue, Mar 09, 2004 at 07:29:57PM -0300, Alexandre Oliva wrote:
> On Mar  9, 2004, Daniel Jacobowitz <drow@mvista.com> wrote:
> 
> > It's the host != build that is causing the problem, since libtool
> > insists on putting host directories in link commands on the build
> > machine.
> 
> Err...  No it doesn't.  There wasn't any single host directory in link
> commands, only /usr/local/lib, that was presumably taken from the
> command line flags stored in libbfd.la.

/usr/local/lib is a host directory.  It is not a build directory.  That
command is run during make install (w/ DESTDIR), i.e. on the build
machine.

This is configured something like (roughly):

PATH=/opt/hardhat/devkit/mips/fp_le/bin:$PATH CC=mips_fp_le-gcc \
foo/configure \
  --build=i686-linux --host=mips-linux --target=mips-linux \
  --prefix=/usr/local

What am I not explaining?

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer



More information about the Binutils mailing list