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]

Gcc 3.02 sh-elf under linux


Hi to all,
I tried to compile gcc-3.2 under linux for sh-elf target.
binutils 2.13 OK
bootstrap gcc OK
newlib 1.10.0 OK
when building the final compiler,
the following will happen:
/bin/sh ../libtool --tag CXX --tag disable-shared --
mode=compile /home/alberico/shtools/build-gcc/gcc/xgcc -shared-libgcc -
B/home/alberico/shtools/build-gcc/gcc/ -nostdinc++  -
L/home/alberico/shtools/build-gcc/sh-elf/libstdc++-v3/src -
L/home/alberico/shtools/build-gcc/sh-elf/libstdc++-v3/src/.libs -
B/home/alberico/sh-elf/sh-elf/bin/ -B/home/alberico/sh-elf/sh-elf/lib/ -
isystem /home/alberico/sh-elf/sh-elf/include -I../../../../gcc-
3.2/libstdc++-v3/../gcc -I../../../../gcc-3.2/libstdc++-v3/../include -
I/home/alberico/shtools/build-gcc/sh-elf/libstdc++-v3/include/sh-elf -
I/home/alberico/shtools/build-gcc/sh-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
/home/alberico/shtools/build-gcc/gcc/xgcc -shared-libgcc -
B/home/alberico/shtools/build-gcc/gcc/ -nostdinc++ -
L/home/alberico/shtools/build-gcc/sh-elf/libstdc++-v3/src -
L/home/alberico/shtools/build-gcc/sh-elf/libstdc++-v3/src/.libs -
B/home/alberico/sh-elf/sh-elf/bin/ -B/home/alberico/sh-elf/sh-elf/lib/ -
isystem /home/alberico/sh-elf/sh-elf/include -I../../../../gcc-
3.2/libstdc++-v3/../gcc -I../../../../gcc-3.2/libstdc++-v3/../include -
I/home/alberico/shtools/build-gcc/sh-elf/libstdc++-v3/include/sh-elf -
I/home/alberico/shtools/build-gcc/sh-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:
/home/alberico/shtools/build-gcc/sh-elf/libstdc++-
v3/include/cstdlib:86: `div_t
   ' not declared
/home/alberico/shtools/build-gcc/sh-elf/libstdc++-
v3/include/cstdlib:87: `
   ldiv_t' not declared
/home/alberico/shtools/build-gcc/sh-elf/libstdc++-
v3/include/cstdlib:97: `div'
   not declared
/home/alberico/shtools/build-gcc/sh-elf/libstdc++-
v3/include/cstdlib:102: `ldiv
   ' not declared
/home/alberico/shtools/build-gcc/sh-elf/libstdc++-
v3/include/cstdlib:104: `
   mblen' not declared
/home/alberico/shtools/build-gcc/sh-elf/libstdc++-
v3/include/cstdlib:105: `
   mbstowcs' not declared
/home/alberico/shtools/build-gcc/sh-elf/libstdc++-
v3/include/cstdlib:106: `
   mbtowc' not declared
/home/alberico/shtools/build-gcc/sh-elf/libstdc++-
v3/include/cstdlib:115: `
   wcstombs' not declared
/home/alberico/shtools/build-gcc/sh-elf/libstdc++-
v3/include/cstdlib:116: `
   wctomb' not declared
/home/alberico/shtools/build-gcc/sh-elf/libstdc++-
v3/include/cstdlib:122: syntax
   error before `(' token
make[3]: *** [eh_alloc.lo] Error 1
make[3]: Leaving directory `/home/alberico/shtools/build-gcc/sh-
elf/libstdc++-v3/libsupc++'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/alberico/shtools/build-gcc/sh-
elf/libstdc++-v3'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/home/alberico/shtools/build-gcc/sh-
elf/libstdc++-v3'
make: *** [all-target-libstdc++-v3] Error 2

If someone can help.

Alberico 




------
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]