Hi there, I try to build the current ksh for my Fritzbox (mipsel platform+uclibc). The environment is Ubuntu 8.10 for the i386 host and freetz-1.0.1 (http://www.freetz.org/downloads/freetz-1.0.1.tar.bz2) for the mipsel compiler toolchain. The toolchain works correctly, other apps (like pdksh) build fine.
~/.crossexec contains: mipsel-linux 192.168.112.2 kshtest /home/kshtest ssh scp mipsel-linux-gcc is in $PATH, CFLAGS are set as recommended by freetz guys as "-Os -pipe -march=4kc -Wa,--trap -fno-strict-aliasing" CROSSTYPE=mipsel-linux package make fails with the following error: $ bin/package make HOSTTYPE=mipsel-linux CC=mipsel-linux-gcc bin/package: line 2570: ./pkg19103.exe: cannot execute binary file package: mipsel-linux-gcc: seems to be a cross-compiler package: set HOSTTYPE to something other than the native mipsel-linux If I set HOSTTYPE to some other like "linux.mips" or whatever, the error stays the same. Looks like package can not guess the the host/target env right. I tried to find out how package guesses the host type but unfortunately had to surrender. The ksh package seems complete because it builds fine for the host os. Any hints on how to finally suceed? I would not want to build ksh myself if there would be a binary.. in fact on the web page one finds a reference to a linux.mips package. But there is no binary package for that platform (anymore?). Thanks in advance for any assistance, Armin _______________________________________________ ast-users mailing list [email protected] https://mailman.research.att.com/mailman/listinfo/ast-users
