Okay, it works now when I set CC=mipsel-linux-gcc and AS=mipsel-linux-as
[benmen@linuxpc1 mipsel-glibc] LD_LIBRARY_PATH="" CFLAGS="-O2 -g
-finline-limit=10000" CC="mipsel-linux-gcc" AS="mipsel-linux-as"
../glibc-2.3.2/configure --build=i686-linux --host=mipsel-linux
--enable-add-ons --prefix=/home/benmen/mipsel
--with-headers=/home/benmen/mips/kernel/mips-2.4.20/include
until this comes:
make[2]: Entering directory `/home/benmen/mips/glibc-2.3.2/misc'
make[2]: *** Keine Regel vorhanden, um das Target
»/home/benmen/mips/mipsel-glibc/misc/cachectl.o«,
benötigt von »/home/benmen/mips/mipsel-glibc/misc/stamp.o«, zu erstellen.
Schluss.
make[2]: Leaving directory `/home/benmen/mips/glibc-2.3.2/misc'
make[1]: *** [misc/subdir_lib] Fehler 2
make[1]: Leaving directory `/home/benmen/mips/glibc-2.3.2'
make: *** [all] Fehler 2
Verzeichnis: ~/mips/mipsel-glibc
[benmen@linuxpc1 mipsel-glibc]
PS: shouldn't the Makefile take care of the CC and AS variables?
regards,
Ben
|