- 论坛徽章:
- 0
|
My environment variable are:
export PATH=(已设好交叉编译命令目录)
export LD_LIBRARY_PATH=(已设好库目录)
Now I use ./configure --host=sh4-linux CC=sh4-linux-gcc CXX=sh4-linux-g++ to check the enviromrnt ,there are errors in the following.
[root@lilei VMware-view-open-client-source-4.0.1-235010]# ./configure --host=sh4-linux CC=sh4-linux-gcc CXX=sh4-linux-g++
./configure: line 46: /opt/STM/STLinux-2.3/devkit/sh4/target/bin/chmod: cannot execute binary file
./configure: line 52: /opt/STM/STLinux-2.3/devkit/sh4/target/bin/rm: cannot execute binary file
./configure: line 165: /opt/STM/STLinux-2.3/devkit/sh4/target/bin/sed: cannot execute binary file
./configure: line 46: /opt/STM/STLinux-2.3/devkit/sh4/target/bin/chmod: cannot execute binary file
./configure: line 52: /opt/STM/STLinux-2.3/devkit/sh4/target/bin/rm: cannot execute binary file
./configure: line 165: /opt/STM/STLinux-2.3/devkit/sh4/target/bin/sed: cannot execute binary file
./configure: line 428: /opt/STM/STLinux-2.3/devkit/sh4/target/usr/bin/expr: cannot execute binary file
./configure: line 440: /opt/STM/STLinux-2.3/devkit/sh4/target/bin/sed: cannot execute binary file
./configure: line 454: /opt/STM/STLinux-2.3/devkit/sh4/target/bin/sed: cannot execute binary file
: error: cannot create .lineno; rerun with a POSIX shell
Help ? How to kick off the errors. |
|