building 4.8.1 cross-compiler: xgcc: error trying to exec 'cc1': execvp: No such file or directory

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

 



When I build a gcc 4.8.1 cross compiler with mingw-w64, I get the
following error:

echo GCC_CFLAGS = '-g -O2 -fomit-frame-pointer -DIN_GCC
-DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wcast-qual
-Wstrict-prototypes -Wmissing-prototypes -Wol>
echo INHIBIT_LIBC_CFLAGS = '' >> tmp-libgcc.mvars
echo TARGET_SYSTEM_ROOT = '/soft/bal/usr/mingw-i686-4.8.1' >> tmp-libgcc.mvars
xgcc: error trying to exec 'cc1': execvp: No such file or directory
/bin/sh /soft/bal/usr/build/gcc-4.8.1/gcc/../move-if-change
tmp-fixinc_list fixinc_list
/bin/sh /soft/bal/usr/build/gcc-4.8.1/gcc/../move-if-change
tmp-macro_list macro_list
mv tmp-libgcc.mvars libgcc.mvars

When doing the same with 4.7.3, everthing is fine.
What does this mean? Is it important?
I can compile and run a hello world C++ program.
I tried with mingw-w64 r6277 (11/09/2013) and both r6277 and v2.0.8 for 4.7.3.

Frédéric

PS: here is my gcc configure where $target is either i686-w64-mingw32
or x86_64-w64-mingw32; I do not know why I set -fomit-frame-pointer...

CFLAGS="-O2 -fomit-frame-pointer" LDFLAGS="-s"\
   $buildsrc/configure\
   --target=$target\
   --prefix=$prefix\
   --with-sysroot=$prefix\
   --with-gnu-as --with-gnu-ld --disable-multilib --disable-plugin\
   --disable-nls --without-included-gettext\
   --disable-win32-registry --enable-threads=win32\
   --disable-shared





[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