Fw: GNAT/RTEMS instalation: problems runing bit_ada script

Sergio Jesus srg_j at newmail.net
Tue May 22 23:30:11 UTC 2001


I'm trying to install GNAT/RTEMS on Linux with i386 as target.
There is some new HOWTO or README about GNAT/RTEMS installation?

When I run the bit_ada script I get the following error:

 gcc -c -O2 -I. -I../../src/libiberty/../include
 ../../src/libiberty/cplus-dem.c
 ../../src/libiberty/cplus-dem.c:35:22: demangle.h: No such file or
directory
 gmake[1]: *** [cplus-dem.o] Error 1
 gmake[1]: Leaving directory
 `/root/rtems/build/ada/build-i386-tools/libiberty'
 gmake: *** [all-libiberty] Error 2


 I found that gcc can not reach paths like "../../src/libiberty/../include"
 where "../../src/libiberty/" is a link made by the "make_one_tree" routine
 (file "common.sh").


 If I copy the files instead of creating links, I get the error:

 /bin/sh ../../src/libiberty/../move-if-change config.tmp config.h
 touch stamp-config
 gmake[1]: *** No rule to make target
 `../../src/libiberty/../include/libiberty.h', needed by `argv.o'.  Stop.
 gmake[1]: Leaving directory
 `/root/rtems/build/ada/build-i386-tools/libiberty'
 gmake: *** [all-libiberty] Error 2


 Then I tried to copy the .h files needed to the directories searched, but
it
 also don't work:


gcc -DHAVE_CONFIG_H -I. -I../../src/bfd -I. -D_GNU_SOURCE -I. -I../../src/bf
 d - I../../src/bfd/../include -O2 -c ../../src/bfd/reloc.c
  ../../src/bfd/reloc.c: In function
 `bfd_generic_get_relocated_section_contents':
 ../../src/bfd/reloc.c:2587: too few arguments to function
  gmake[1]: *** [reloc.lo] Error 1


 Someone tried to install GNAT/RTEMS on Linux?
What files must really be in the "src" directory?
What I'm missing? I already read the "Getting Started with GNAT/RTEMS" doc.
There is some new HOWTO or README about GNAT/RTEMS installation?

 Any comment is welcome.

 Thanks




More information about the users mailing list