This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

can't find stdio, etc. building m68k-coff cross from i586-linux


I am trying to build a set of cross compilers for an embedded
project.  I have m68k-coff and powerpc-elf targets and an i586-linux
host.  I first built egcs 1.0.1 native by doing a make bootstrap,
after building binutils 2.8.1.0.21.  The native bootstrap went ok.

Now I build the save version of binutils targeted to m68k-coff and
that goes ok, but when I try to build the m68k-coff cross compiler, it 
dies thusly:

/away/zen/gnu/cross/egcs_build/gcc/xgcc -B/away/zen/gnu/cross/egcs_build/gcc/ -c -g -O2 -I. -I/away/zen/gnu/cross/egcs-1.0.1/libiberty/../include  /away/zen/gnu/cross/egcs-1.0.1/libiberty/choose-temp.c
/away/zen/gnu/cross/egcs-1.0.1/libiberty/choose-temp.c:26: sys/types.h: No such file or directory
/away/zen/gnu/cross/egcs-1.0.1/libiberty/choose-temp.c:27: sys/file.h: No such file or directory
/away/zen/gnu/cross/egcs-1.0.1/libiberty/choose-temp.c:36: stdio.h: No such file or directory
make[2]: *** [choose-temp.o] Error 1
make[2]: Leaving directory `/away/zen/gnu/cross/egcs_build/m68k-coff/libiberty'
make[1]: *** [all-target-libiberty] Error 2
make[1]: Leaving directory `/away/zen/gnu/cross/egcs_build'
make: *** [cross] Error 2

I think maybe the new native ecgs does not know where to find these
standard include files.  What have I "crossed up"?

-- 
--------  "And there came a writing to him from Elijah"  [2Ch 21:12]  --------
Robert Jay Brown III rj@eli.elilabs.com  http://www.elilabs.com 1 847 705-0424
Elijah Laboratories Inc.;  37 South Greenwood Avenue;  Palatine, IL 60067-6328
-----  M o d e l i n g   t h e   M e t h o d s   o f   t h e   M i n d  ------


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]