20000717 build failure --target=mcore-mcore-elf

Rodney Brown rdb@localhost
Wed Jul 19 05:21:00 GMT 2000


Build failed compiling gcc/cppmain.c trying to include <strings.h>
which configure has seen on the (linux) host and set up
HAVE_STRINGS_H & STRING_WITH_STRINGS in gcc/auto-host.h
The compile is searching the /usr/local/mcore-mcore-elf directories installed
by newlib-1.8.2 rather than the host directories.

#!/bin/sh
# This file was generated automatically by configure.  Do not edit.
# This directory was configured as follows:
../egcs-20000717/configure --with-gcc-version-trigger=/home/rdb/src/egcs-20000717/gcc/version.c --host=i586-pc-linux --enable-checking --target=mcore-mcore-elf --disable-nls --norecursion 
# 

stage1/xgcc -v --save-temps -Bstage1/ -B/usr/local/mcore-mcore-elf/bin/ -c -DCROSS_COMPILE -DIN_GCC   -DDONT_HAVE_STDIO -DDONT_HAVE_SETJMP  -Dinhibit_libc  -W -Wall -Wtraditional -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -O2 -g -O2  -DHAVE_CONFIG_H    -I. -I../../egcs-20000717/gcc -I../../egcs-20000717/gcc/config -I../../egcs-20000717/gcc/../include ../../egcs-20000717/gcc/cppmain.c
Reading specs from stage1/specs
gcc version 2.96 20000717 (experimental)
 stage1/cpp -lang-c -v -I. -I../../egcs-20000717/gcc -I../../egcs-20000717/gcc/config -I../../egcs-20000717/gcc/../include -iprefix stage1/../lib/gcc-lib/mcore-mcore-elf/2.96/ -isystem /usr/local/mcore-mcore-elf/bin/include -isystem include -isystem stage1/include -D__GNUC__=2 -D__GNUC_MINOR__=96 -D__GNUC_PATCHLEVEL__=0 -D__mcore__ -D__MCORE__=1 -D__declspec(x)=__attribute__((x)) -D__ELF__ -D__mcore__ -D__MCORE__=1 -D__declspec(x)=__attribute__((x)) -D__ELF__ -D__CHAR_UNSIGNED__ -D__OPTIMIZE__ -g -W -Wall -Wtraditional -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wno-long-long -pedantic -D__MCORELE__ -D__M340__ -DCROSS_COMPILE -DIN_GCC -DDONT_HAVE_STDIO -DDONT_HAVE_SETJMP -Dinhibit_libc -DHAVE_CONFIG_H ../../egcs-20000717/gcc/cppmain.c cppmain.i
GNU CPP version 2.96 20000717 (experimental) (cpplib)
 (Motorola MCORE/elf)
ignoring nonexistent directory "/usr/local/mcore-mcore-elf/bin/include"
ignoring nonexistent directory "stage1/include"
ignoring nonexistent directory "lib/gcc-lib/mcore-mcore-elf/2.96/include"
ignoring nonexistent directory "mcore-mcore-elf/sys-include"
ignoring nonexistent directory "mcore-mcore-elf/include"
ignoring nonexistent directory "/usr/local/mcore-mcore-elf/sys-include"
#include "..." search starts here:
#include <...> search starts here:
 .
 ../../egcs-20000717/gcc
 ../../egcs-20000717/gcc/config
 ../../egcs-20000717/include
 include
 /usr/local/lib/gcc-lib/mcore-mcore-elf/2.96/include
 /usr/local/mcore-mcore-elf/include
End of search list.
In file included from ../../egcs-20000717/gcc/cppmain.c:24:
../../egcs-20000717/gcc/system.h:177:22: strings.h: No such file or directory


More information about the Gcc-bugs mailing list