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 +
|