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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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        +



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux