Can anyone point out which step i done wrong in the process of
cross-compiling an program with the -static option?
I made the cross-compile
toolkit by myself.
All the source code and patches for cross-compile were
downloaded from the SGI ftp site.
The version is as
cross-binutils = version 2.10.90
cross-gcc = version 2.96
cross-usable glibc = libc-2.1.90
The cross-compile toolkits
building process is ok!
I used the cross-compiler to compile a program
with the " -static " option in the host and then ran it on the target.
got the error message:
FATAL: kernel too old
Where i be trapped?
My host system is x86 running
My target system is an embedded mips board running
linux-2.2.14 and shell is the statically linked ash binary from a lib-2.6.0
filesystem(kernel version unknown).
By the way, i builded the cross-usable
glibc-2.1.90 with configure "--enable-kernel=2.2.14".