Can gcc be compiled together with binutils?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all:
    I downloaded the six packages
binutils-2.21.tar.gz
gcc-core-4.5.1.tar.gz
gcc-g++-4.5.1.tar.gz
gmp-5.0.1.tar.gz
mpc-0.8.2.tar.gz
mpfr-2.4.2.tar.gz
and uncompressed them. Then I moved the binutils, gmp, mpc and mpfr directory under gcc. After that I executed the configure under gcc with follow parameter:
./configure \
--build=mingw32 \
--disable-libgomp \
--disable-libmudflap \
--disable-libssp \
--disable-libstdcxx-pch \
--disable-multilib \
--disable-nls \
--disable-rpath \
--disable-shared \
--disable-sjlj-exceptions \
--disable-werror \
--disable-win32-registry \
--enable-cxx-flags='-fno-function-sections -fno-data-sections' \
--enable-languages=c,c++ \
--enable-libstdcxx-debug \
--enable-symvers \
--enable-threads=win32 \
--enable-version-specific-runtime-libs \
--prefix=/mingw \
--with-arch=i686 \
--with-dwarf2 \
--with-host-libstdcxx=-lstdc++ \
--with-tune=generic \
CFLAGS='-g0 -O0' \
CXXFLAGS='-g0 -O0' \
LIBCFLAGS='-g0 -O0' \
LIBCXXFLAGS='-g0 -O0'

The Makefile was generated successfully, but when I executed make all command I got an error "can not find ar under host-mingw32/binutils".
I've found the ar.exe under host-mingw32/binutils/host-mingw32/binutils, so is there something I've done incorrect or is there a way to correct the error?
Thanks for help.



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux