[Top] [All Lists]

Re: cross-mipsel-linux-ld --prefix library path

To: "Bradley D. LaRonde" <>
Subject: Re: cross-mipsel-linux-ld --prefix library path
From: "Maciej W. Rozycki" <>
Date: Tue, 7 Aug 2001 16:10:10 +0200 (MET DST)
In-reply-to: <074001c11ef4$fdbd7530$>
Organization: Technical University of Gdansk
On Mon, 6 Aug 2001, Bradley D. LaRonde wrote:

> When I build and install cross-binutils (on Debian 2.2) like this:
>   tar -xzf binutils-2.11.2.tar.gz
>   mkdir mipsel-binutils
>   cd mipsel-binutils
>   ../binutils-2.11.2/configure --target=mipsel-linux \
>     --prefix=/usr/mipsel-linux
>   make
>   make install
> it seems the resulting mipsel-linux-ld wants to look in:
>     /usr/mipsel-linux/mipsel-linux/lib
> for crt1.o, crti.o, libc.*, etc.

 You don't need to specify "--prefix=/usr/mipsel-linux" for building
cross-binutils.  The scripts will add the target alias automatically for
files that need it -- if you look at the scripts,
"${prefix}/${target_alias}" is the so called "tooldir". 

+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+        e-mail:, PGP key available        +

<Prev in Thread] Current Thread [Next in Thread>