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: h8300-coff build error with gcc-3.5-20040801


Nitin Shah wrote:
1. GCC(gcc-3.5-20040801).
2. binutils(binutils-040802).
3. newlib-1.12.0 (Dated 15/07/2004 from CVS). ...
I am able to build tool chain for ELF format.
I am already adding the new cross-binutils to my path after I built and installed them.
While building toolchain for targets H8(COFF), I am getting error as mentioned below at the stage of
final cross gcc building. Kindly suggest how to remove this error.


************************************ Error Text******************************************************************
/home/nitins2/intmdt_build/h8300-coffbld3.5-20040801/build-gcc-3.5-20040801/gcc/g++ -shared-libgcc -B/home/nitins2/intmdt_build/h8300-coffbld3.5-20040801/build-gcc-3.5-20040801/gcc/ -nostdinc++ -L/home/nitins2/intmdt_build/h8300-coffbld3.5-20040801/build-gcc-3.5-20040801/h8300-coff/libstdc++-v3/src -L/home/nitins2/intmdt_build/h8300-coffbld3.5-20040801/build-gcc-3.5-20040801/h8300-coff/libstdc++-v3/src/.libs -B/home/nitins2/intmdt_share/gnuh8300_v0403_coff-1/h8300-coff/bin/ -B/home/nitins2/intmdt_share/gnuh8300_v0403_coff-1/h8300-coff/lib/ -isystem /home/nitins2/intmdt_share/gnuh8300_v0403_coff-1/h8300-coff/include -isystem /home/nitins2/intmdt_share/gnuh8300_v0403_coff-1/h8300-coff/sys-include -DHAVE_CONFIG_H -I. -I/home/kpit/fsfsrc/downloads/gcc-3.5-20040801/libstdc++-v3/testsuite -I..  -I/home/nitins2/intmdt_build/h8300-coffbld3.5-20040801/build-gcc-3.5-20040801/h8300-coff/libstdc++-v3/include/h8300-coff -I/home/nitins2/intmdt_build/h8300-coffbld3.5-20040801/build-gcc-3.
5-20040801/h8300-coff/libstdc++-v3/include -I/home/kpit/fsfsrc/downloads/gcc-3.5-20040801/libstdc++-v3/libsupc++ -O2 -O2 -DCOFFPATCH -g -O2 -D_GLIBCXX_ASSERT -fmessage-length=0 -DLOCALEDIR="/home/nitins2/intmdt_build/h8300-coffbld3.5-20040801/build-gcc-3.5-20040801/h8300-coff/libstdc++-v3/po/share/locale" -O2 -c -o testsuite_abi.o /home/kpit/fsfsrc/downloads/gcc-3.5-20040801/libstdc++-v3/testsuite/testsuite_abi.cc
/tmp/ccMZmwY1.s: Assembler messages:
/tmp/ccMZmwY1.s:16: Error: junk at end of line, first unrecognized character is `i'
...
*************************************testsuite_abi.s file*********************************************************
def	_signed
13	.scl	13
14	.type	04
15	.endef
16	.def	_long int   <- error comes from here
...

Nitin,
I found a clue by doing a google search for the error message
combined with the unique part of the error source.  i.e.
searching for
   .def _long int  "Error: junk at end of line, first unrecognized character is"
pulled up
  http://gcc.gnu.org/ml/gcc/2004-06/msg00708.html
which totally describes your problem, I think!  It also
suggests a workaround (a small patch to gcc/gcc/cp/decl.c).
Good luck,
Dan

--
My technical stuff: http://kegel.com
My politics: see http://www.misleader.org for examples of why I'm for regime change

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