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: Problems with using libtool dependencies in opcodes


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


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