RTEMS compilation failure.

lange92 at 2067.resnet.uni.edu lange92 at 2067.resnet.uni.edu
Sun Jan 21 06:11:51 UTC 2001

Hello all,
  I'm trying (again!) to get gnat/rtems to compile. Because of all the
problems I had with gnat/rtems 4.5.0-beta3, I decided to try compiling
gnat/rtems 4.0.0, along with the preselected gnat version 3.10. I must
admit, the documentation here didn't seem as inconsistent as the docs for
4.5.0, but I discovered that I did need the c_build_scripts tarball to get
the bit_ada script to function. 
  Anyway, compilation using bit_ada goes and builds everything right up
until it starts in on the gnat 3.10 compilation. Then things go a little
haywire, because it appears a couple files generated on the fly using
`echo` in the makefile have forgotten a line or two. But, not to be
daunted, I discovered the same data in the libraries for gnat, so I simply
added the lines and compilation continued.
  However, now I'm to a small sticking point. Using my tiny little hack
method of forcing the compilation along, I found that gnat 3.10 will not
compile, and dies during the step of attempting to link
gnat1drv. Apparently, gnat1drv.ali was not created. After throwing the
"-gnatv" parameter on gcc, I discovered a missing segment in
a-tags.ads. However, this file is in the GNAT libraries in an interesting
location--it's in 2 places actually, one for FSU threads, and one for
linuxthreads. So I have to ask: how does rtems handle threading? which
thread form does it use, or does it provide its own thread handling?

  Thanks for the info.

More information about the users mailing list