This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: cppfiles.c:955: Internal compiler error
> > Thanks for your bug report. As you may know, this is caused by using
> > --enable-checking. So if you just want to built the compiler, omit
>
> Humm. OK, I'll try it.
I tried. But failed.
Environment: Solaris 7 + gcc 2.95.2 + gperf 2.7(patch)
my configure is
% ./configure --prefix=/export/home2/syrinx/gcc --enable-shared --enable-haifa --enable-multilib --with-stabs --with-gnu-as --with-gnu-ld --enable-threads --enable-target-optspace --enable-cpp --enable-cpplib --enable-version-specific-runtime-libs --enable-languages=CHILL,c++,f77,java,objc --with-dwarf2
And
% make bootstrap
:
:
:
Configuring in sparc-sun-solaris2.7/libiberty
COPYING.LIB ..linked
ChangeLog ..linked
Makefile ..linked
Makefile.in ..linked
:
:
:
Appending ./config/../../../../config/mh-sparcpic to xhost-mkfrag
checking how to run the C preprocessor... /export/home/syrinx/can/work/egcs/gcc/xgcc -B/export/home/syrinx/can/work/egcs/gcc/ -B/export/home2/syrinx/gcc/sparc-sun-solaris2.7/bin/ -m64 -E
checking for sys/file.h... yes
checking for sys/param.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for unistd.h... yes
checking for strings.h... yes
checking for sys/time.h... yes
checking for sys/resource.h... yes
checking for sys/stat.h... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether the C compiler (/export/home/syrinx/can/work/egcs/gcc/xgcc -B/export/home/syrinx/can/work/egcs/gcc/ -B/export/home2/syrinx/gcc/sparc-sun-solaris2.7/bin/ -m64 -g -Os ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
*** Error code 1
make: Fatal error: Command failed for target `configure-target-libiberty'
Current working directory /export/home/syrinx/can/work/egcs
*** Error code 1
make: Fatal error: Command failed for target `bootstrap'
where should I check??
Best Regards,
T.Can
--
ADVANTEST corp.
Taiji.Can@atesoft.advantest.co.jp