在Linux下面用gcc交错编译VxWorks应用 出现 too many input files
gcc 4.4
which cpp
/usr/bin/gcc
source: ubuntu 12.04
target: vxworks 5.5.1
总是出现 Error: too many input files
网上搜索
gcc tends to report the error message "cpp: too many input files" when it cannot find tools in the places it expects them to be. One cause is if you configured with a --prefix or a --exec-prefix argument with a trailing slash. You must ensure there are no trailing slashes to the arguments to --prefix and --exec-prefix. Another cause is if you have moved your gcc installation from the location you originally specified when it was configured. This location is determined primarily by the --exec-prefix argument to gcc's configure script.
More recent gcc snapshots do not have this limitation, which is specific to gcc 2.95.2 or earlier. To resolve it, you can: use a more recent gcc snapshot; reconfigure gcc with the intended installation location set correctly; or set up symlinks from the old location to the new one.
不知道如何去做? ubuntu12.04 LTS 交错编译环境
[解决办法]
vxworks5.5.1不支持linux,你怎么装上的?