[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
compiling problems (getting started)
- Date: Tue, 5 Oct 1999 19:10:49 +0200 (MET DST)
- From: Kris.Hermans at cs.kuleuven.ac.be (Kris Hermans)
- Subject: compiling problems (getting started)
As a newbie in RTEMS, I have a problem in compiling the cross-compiler.
I'm using a Debian Linux system (kernel 2.0.X) on a i386 and I want to
target to i386 WITH gnat-support.
I patched gnat3.10p, binutils, newlib, etc. and now I tried to run the
ada_bit script. After a while, this returns with:
`if [ xobstack.o != x ]; then echo ../obstack.o; else true;
fi` `case "gcc" in "cc") if [ x != x ]; then echo ../; else true; fi ;;
esac` `if [ x != x ]; then echo ../; else true; fi`
a-misc.o: In function `yyparse':
a-misc.o(.text+0x16): undefined reference to `__builtin_setjmp'
a-raise.o: In function `__gnat_raise_nodefer_with_msg':
undefined reference to `__builtin_longjmp'
make: *** [../gnat1] Error 1
make: Leaving directory
make: *** [gnat1] Error 2
ERROR: **** FAILED **** gnat (gnat1)
Started: Tue Oct 5 16:56:06 CEST 1999
Finished: Tue Oct 5 17:40:46 CEST 1999
Does anyone has a suggestion ?
Also a second question about the docs. As I understand it, you can build
a GNAT/RTEMS system INDEPENTENTLY of a C(++)/RTEMS system, so you don't
have to build the C++ crosscompiler in order to build the Ada-equivalent.
IS THIS CORRECT ?
I would really appreciate any useful input, because I'm really interested,
but not very experienced ... THANKS !!
Kris Hermans, university of LEUVEN (BELGIUM)