Unable to install binutils on my ubuntu -
i trying install binutils on ubuntu:
- downloaded package
binutils-2.22
- i run
./configure
& error saying c compiler cannot create executables. confusedconfig.log
really. looks looking options..can please help?
the following error config.log
looks problem:
configure:4018: $? = 0
configure:4007: gcc -v >&5
using built-in specs.
collect_gcc=gcc
collect_lto_wrapper=/usr/lib/gcc/x86_64-linux-gnu/4.6/lto-wrapper
target: x86_64-linux-gnu
configured with: ../src/configure -v --with-pkgversion='ubuntu/linaro 4.6.3-1ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.6/readme.bugs --enable- languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
thread model: posix
gcc version 4.6.3 (ubuntu/linaro 4.6.3-1ubuntu5)
configure:4018: $? = 0
configure:4007: gcc -v >&5
gcc: error: unrecognized option '-v'
gcc: fatal error: no input files
compilation terminated.
configure:4018: $? = 4
configure:4007: gcc -qversion >&5
gcc: error: unrecognized option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure:4018: $? = 4
configure:4038: checking c compiler default output file name
configure:4060: gcc conftest.c >&5
/usr/local/bin/ld: linker not configured use sysroots
collect2: ld returned 1 exit status
configure:4064: $? = 1
configure:4101: result:
configure: failed program was:
| /* confdefs.h */
why compile manually?
apt-get install binutils
Comments
Post a Comment