GCC make Error
Hi All,
I am trying to build my code using cross-compiler, for testing our application On Itanium machine, we followed below steps: 1. we copied all the include and library files of an Itanium machine to machine where we will build the cross-compiler. 2.Then configured the libc.so file (set it to: GROUP ( /usr/local/ia64-linux/lib/libc.so.6.1 /usr/local/ia64-linux/lib/libc_nonshared.a ) 3.Installed binutils-2.24.51 package, and also installing gcc-4.6.4 package, configure --enable-threads=posix --with-libs=/usr/local/linuxia64/files/lib/ --with-headers=/usr/local/linuxia64/files/include --target=ia64-linux --prefix=/usr/local --enable-languages=c,c++ --with-gmp=/usr/local --with-mpfr=/usr/local --with-mpc=/usr/local Its make command is giving me following Error: gcc: error: unrecognized command line option '-V' gcc: fatal error: no input files compilation terminated. configure:4189: $? = 1 configure:4178: gcc -qversion >&5 gcc: error: unrecognized command line option '-qversion' gcc: fatal error: no input files configure:5758: result: no configure:5772: checking for version 0.11 (revision 0 or later) of PPL configure:5789: gcc -c -g -O2 -I/usr/local/include -I/usr/local/include -I/usr/local//include conftest.c >&5 conftest.c:10:19: fatal error: ppl_c.h: No such file or directory compilation terminated. How can i resolve This?? |
Code:
gcc: error: unrecognized command line option '-V' I would try a gentle hack of the script around there. Presume that every line you write will be wrong, and retain the original commented out. You may need it. |
All times are GMT -5. The time now is 02:55 PM. |