This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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

How to deal with includes


Hi all,

I am attempting to make a cross-compiler and am sometimes running into the
following kind of problem. During the compilation, I hit a file that is
asking for included files that can't be found. Here is an example:

/h/crossgcc/build-gnu/gcc/xgcc -B/h/crossgcc/build-gnu/gcc/ -bm68k-coff -c
-g -O2 -I. -I.
./../../gnu-2.8.1/libiberty/../include
../../../gnu-2.8.1/libiberty/choose-temp.c
../../../gnu-2.8.1/libiberty/choose-temp.c:26: sys/types.h: No such file or
directory
../../../gnu-2.8.1/libiberty/choose-temp.c:27: sys/file.h: No such file or
directory
../../../gnu-2.8.1/libiberty/choose-temp.c:36: stdio.h: No such file or
directory
xgcc: file path prefix `/usr/local/lib/gcc-lib/m68k-coff/2.8.1/' never used

The file 'choose-temp' is calling for some standard includes (e.g.,
sys/types.h, sys/file.h and stdio.h).  Is there some way to handle the
above? What are the issues I should take into account?

Thanks.

 


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


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