linux-mips
[Top] [All Lists]

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

To: "Bradley D. LaRonde" <brad@ltc.com>
Subject: Re: cross-mipsel-linux-ld --prefix library path
From: "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
Date: Tue, 7 Aug 2001 16:10:10 +0200 (MET DST)
Cc: linux-mips@oss.sgi.com
In-reply-to: <074001c11ef4$fdbd7530$3501010a@ltc.com>
Organization: Technical University of Gdansk
Sender: owner-linux-mips@oss.sgi.com
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: macro@ds2.pg.gda.pl, PGP key available        +


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