This is the mail archive of the gcc@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]

Re: m68k-unknown-coff cross failure


>>>>> "Jeffrey" == Jeffrey A Law <law@hurl.cygnus.com> writes:

    Jeffrey>   In message <u9k9dnsvlk.fsf@neal.ctd.comsat.com>you write:
    >> Now I encounter another puzzling problem:
    >> >head config.status 
    >> ../../egcs-971127/configure --host=hppa1.1-hp-hpux9.05 --target=m68k-unknow
    >> n-coff --prefix=/usr/local/m68k -v --with-newlib --norecursion 
    >> 
    >> My target is embedded 68k with no OS, and since I use newlib-1.8 I
    >> added --with-newlib.
    Jeffrey> Do you have newlib installed?  Where are your target include files?

Yes, I have newlib installed, and *other parts of the build process
noticed them correctly*.

For example:


gcc -I../../../egcs-971201/gcc/config ../../../egcs-971201/gcc/scan-decls.c
gcc -DCROSS_COMPILE -DIN_GCC    -g -O2  -DHAVE_CONFIG_H -DHAIFA    -I. -I../../../egcs-971201/gcc -I../../../egcs-971201/gcc/config \
  -DGCC_INCLUDE_DIR=\"/usr/local/m68k/lib/gcc-lib/m68k-unknown-coff/egcs-2.90.20/include\" \
  -DGPLUSPLUS_INCLUDE_DIR=\"/usr/local/m68k/include/g++\" \
  -DOLD_GPLUSPLUS_INCLUDE_DIR=\"/usr/local/m68k/lib/g++-include\" \
  -DLOCAL_INCLUDE_DIR=\"/usr/local/include\" \
  -DCROSS_INCLUDE_DIR=\"/usr/local/m68k/lib/gcc-lib/m68k-unknown-coff/egcs-2.90.20/sys-include\" \
  -DTOOL_INCLUDE_DIR=\"/usr/local/m68k/m68k-unknown-coff/include\" \


The newlib stuff is in /usr/local/m68k/m68k-unknown-coff/include.

>Have you read the crossgcc FAQ?

I think so.


I retried with 971201, same results.  I suppose I could try again
explicitly telling configure where to find the target includes, but as 
you see from TOOL_INCLUDE_DIR it seems to have found them without
help.


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