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]
Other format: [Raw text]

Re: building for cygwin (nearly there)



/cygdrive/c/brucea/downloads/gcc/cross2/full/gcc/xgcc -shared-libgcc
-B/cygdrive/c/brucea/downloads/gcc/cross2/full/gcc/ -nostdinc++
-L/cygdrive/c/brucea/downloads/gcc/cross2/full/m68k-elf/libstdc++-v3/src
-L/cygdrive/c/brucea/downloads/gcc/cross2/full/m68k-elf/libstdc++-v3/src/.li
bs -B/cygdrive/c/gccm68k/m68k-elf/bin/ -B/cygdrive/c/gccm68k/m68k-elf/lib/
-isystem /cygdrive/c/gccm68k/m68k-elf/include
-I../../../../gcc-3.2/libstdc++-v3/../gcc
-I../../../../gcc-3.2/libstdc++-v3/../include
-I/cygdrive/c/brucea/downloads/gcc/cross2/full/m68k-elf/libstdc++-v3/include
/m68k-elf
-I/cygdrive/c/brucea/downloads/gcc/cross2/full/m68k-elf/libstdc++-v3/include
-I../../../../gcc-3.2/libstdc++-v3/libsupc++ -g -O2 -fno-implicit-templates
-Wall -Wno-format -W -Wwrite-strings -Winline
-fdiagnostics-show-location=once -g -c
../../../../gcc-3.2/libstdc++-v3/libsupc++/eh_alloc.cc -o eh_alloc.o
In file included from
../../../../gcc-3.2/libstdc++-v3/libsupc++/eh_alloc.cc:33:
/cygdrive/c/brucea/downloads/gcc/cross2/full/m68k-elf/libstdc++-v3/include/c
stdlib:86: `
  div_t' not declared
/cygdrive/c/brucea/downloads/gcc/cross2/full/m68k-elf/libstdc++-v3/include/c
stdlib:87: `
  ldiv_t' not declared
/cygdrive/c/brucea/downloads/gcc/cross2/full/m68k-elf/libstdc++-v3/include/c
stdlib:97: `
  div' not declared
/cygdrive/c/brucea/downloads/gcc/cross2/full/m68k-elf/libstdc++-v3/include/c
stdlib:102: `
  ldiv' not declared
/cygdrive/c/brucea/downloads/gcc/cross2/full/m68k-elf/libstdc++-v3/include/c
stdlib:104: `
  mblen' not declared
/cygdrive/c/brucea/downloads/gcc/cross2/full/m68k-elf/libstdc++-v3/include/c
stdlib:105: `
  mbstowcs' not declared
/cygdrive/c/brucea/downloads/gcc/cross2/full/m68k-elf/libstdc++-v3/include/c
stdlib:106: `
  mbtowc' not declared
/cygdrive/c/brucea/downloads/gcc/cross2/full/m68k-elf/libstdc++-v3/include/c
stdlib:115: `
  wcstombs' not declared
/cygdrive/c/brucea/downloads/gcc/cross2/full/m68k-elf/libstdc++-v3/include/c
stdlib:116: `
  wctomb' not declared
/cygdrive/c/brucea/downloads/gcc/cross2/full/m68k-elf/libstdc++-v3/include/c
stdlib:122: syntax
  error before `(' token
make[3]: *** [eh_alloc.lo] Error 1
make[3]: Leaving directory
`/cygdrive/c/brucea/downloads/gcc/cross2/full/m68k-elf/libstdc++-v3/libsupc+
+'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/cygdrive/c/brucea/downloads/gcc/cross2/full/m68k-elf/libstdc++-v3'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory
`/cygdrive/c/brucea/downloads/gcc/cross2/full/m68k-elf/libstdc++-v3'
make: *** [all-target-libstdc++-v3] Error 2

I've seen an incompatible stdlib.h causing these errors. It's possibly a leftover from the first pass with the --without-headers switch. You can delete the $PREFIX directory and all files from the gcc build directory. Then run 'make install' on binutils and newlib and configure and build gcc for the second pass.




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


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