Hi, Simon. <br><br>$ i386-rtems4.10-gcc -v<br>Using built-in specs.<br>Target: i386-rtems4.10<br>Configured with: ../gcc-4.4.0/configure --prefix=/opt/rtems-4.10 --bindir=/opt/rtems-4.10/bin --exec_prefix=/opt/rtems-4.10 --includedir=/opt/rtems-4.10/include --libdir=/opt/rtems-4.10/lib --libexecdir=/opt/rtems-4.10/libexec --mandir=/opt/rtems-4.10/share/man --infodir=/opt/rtems-4.10/share/info --datadir=/opt/rtems-4.10/share --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --target=i386-rtems4.10 --disable-libstdcxx-pch --with-gnu-as --with-gnu-ld --verbose --with-newlib --with-system-zlib --disable-nls --without-included-gettext --disable-win32-registry --enable-version-specific-runtime-libs --enable-threads --enable-newlib-io-c99-formats --enable-languages=c,c++<br>
Thread model: rtems<br>gcc version 4.4.0 (GCC)<br><br>The configure params for the configure script  were:<br><br>../cvs/configure --target=i386-rtems4.10 --enable-option-checking
--disable-maintainer-mode --disable-multiprocessing --enable-posix
--disable-itron --enable-networking --enable-cxx --disable-tests
--enable-rtems-debug --enable-rtemsbsp="pc386" --disable-multilib
--disable-docs --enable-ada<br>
<br>I disabled the tests and docs options because the make step fails when enabling them.<br><br>Thanks!<br><br><div class="gmail_quote">2009/6/18 Simon Clubley <span dir="ltr"><<a href="mailto:simon.clubley@googlemail.com">simon.clubley@googlemail.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="h5">On 17/06/2009, Ángel <<a href="mailto:leadzeppelin@gmail.com">leadzeppelin@gmail.com</a>> wrote:<br>

><br>
> I am trying to compile the hello_world_ada sample without sucess:<br>
><br>
> ~/RTEMS/ada-examples/hello_world_ada$ make<br>
>  i386-rtems4.10-gnatmake -g -v  \<br>
><br>
> -I/opt/rtems-4.10/i386-rtems4.10/pc386/lib/include/adainclude<br>
> \<br>
>          -O -gnata -gnatE -gnato -g hello -o hello.exe \<br>
>         -bargs -Mgnat_main \<br>
>         -largs -B/opt/rtems-4.10/i386-rtems4.10/pc386/lib/<br>
> -specs=bsp_specs -qrtems -mtune=i386  -Dpc386 -Wl,-Ttext,0x00100000  \<br>
>          rtems_init.o  \<br>
><br>
> After installation, the /opt/rtems4.10/bin directory, which is in $PATH,<br>
> contains the following files:<br>
><br>
> rwxr-xr-x 2 root root   31214 2009-05-18 19:01 aclocal<br>
> -rwxr-xr-x 2 root root   31214 2009-05-18 19:01 aclocal-1.11<br>
>  -rwxr-xr-x 1 root root   14642 2009-04-07 07:05 autoconf<br>
> -rwxr-xr-x 1 root root    8506 2009-04-07 07:05 autoheader<br>
> -rwxr-xr-x 1 root root   31811 2009-04-07 07:05 autom4te<br>
> -rwxr-xr-x 2 root root  257044 2009-05-18 19:01 automake<br>
>  -rwxr-xr-x 2 root root  257044 2009-05-18 19:01 automake-1.11<br>
> -rwxr-xr-x 1 root root   20266 2009-04-07 07:05 autoreconf<br>
> -rwxr-xr-x 1 root root   17098 2009-04-07 07:05 autoscan<br>
> -rwxr-xr-x 1 root root   33799 2009-04-07 07:05 autoupdate<br>
>  -rwxr-xr-x 1 root root   21323 2009-06-17 10:42 cklength<br>
> -rwxr-xr-x 1 root root   21359 2009-06-17 10:42 eolstrip<br>
> -rwxr-xr-x 1 root root  549352 2009-05-31 10:53 i386-rtems4.10-addr2line<br>
> -rwxr-xr-x 2 root root  573752 2009-05-31 10:53 i386-rtems4.10-ar<br>
>  -rwxr-xr-x 2 root root 1007128 2009-05-31 10:53 i386-rtems4.10-as<br>
> -rwxr-xr-x 2 root root  197780 2009-05-31 22:14 i386-rtems4.10-c++<br>
> -rwxr-xr-x 1 root root  549160 2009-05-31 10:53 i386-rtems4.10-c++filt<br>
> -rwxr-xr-x 1 root root  196788 2009-05-31 22:14 i386-rtems4.10-cpp<br>
>  -rwxr-xr-x 2 root root  197780 2009-05-31 22:14 i386-rtems4.10-g++<br>
> -rwxr-xr-x 2 root root  195096 2009-05-31 22:14 i386-rtems4.10-gcc<br>
> -rwxr-xr-x 2 root root  195096 2009-05-31 22:14 i386-rtems4.10-gcc-4.4.0<br>
> -rwxr-xr-x 1 root root   16412 2009-05-31 22:13 i386-rtems4.10-gccbug<br>
>  -rwxr-xr-x 1 root root   27456 2009-05-31 22:14 i386-rtems4.10-gcov<br>
> -rwxr-xr-x 1 root root 2579296 2009-05-31 11:30 i386-rtems4.10-gdb<br>
> -rwxr-xr-x 1 root root 2579296 2009-05-31 11:30 i386-rtems4.10-gdbtui<br>
> -rwxr-xr-x 1 root root  611524 2009-05-31 10:53 i386-rtems4.10-gprof<br>
>  -rwxr-xr-x 2 root root  836824 2009-05-31 10:53 i386-rtems4.10-ld<br>
> -rwxr-xr-x 2 root root  558932 2009-05-31 10:53 i386-rtems4.10-nm<br>
> -rwxr-xr-x 2 root root  706488 2009-05-31 10:53 i386-rtems4.10-objcopy<br>
> -rwxr-xr-x 2 root root 1034616 2009-05-31 10:53 i386-rtems4.10-objdump<br>
>  -rwxr-xr-x 2 root root  573756 2009-05-31 10:53 i386-rtems4.10-ranlib<br>
> -rwxr-xr-x 1 root root  253788 2009-05-31 10:53 i386-rtems4.10-readelf<br>
> -rwxr-xr-x 1 root root  553444 2009-05-31 10:53 i386-rtems4.10-size<br>
> -rwxr-xr-x 1 root root  549352 2009-05-31 10:53 i386-rtems4.10-strings<br>
>  -rwxr-xr-x 2 root root  706484 2009-05-31 10:53 i386-rtems4.10-strip<br>
> -rwxr-xr-x 1 root root    4060 2009-04-07 07:05 ifnames<br>
> -rwxr-xr-x 1 root root    3083 2009-06-17 10:42 install-if-change<br>
> -rwxr-xr-x 1 root root   26117 2009-06-17 10:42 packhex<br>
>  -rwxr-xr-x 1 root root   19322 2009-06-17 10:42 rtems-bin2c<br>
> -rwxr-xr-x 1 root root   29155 2009-06-17 10:42 unhex<br>
><br>
> We can see that "i386-rtems4.10-gnatmake" is missing.<br>
><br>
<br>
</div></div>As are the other GNAT related utilities. What does "i386-rtems4.10-gcc -v" say ?<br>
<br>
If the prebuilt tools don't support Ada (I've never used them as I've<br>
always built my own tool kit from source) then you will have to build<br>
your own toolkit.<br>
<br>
The instructions for doing that are in the RTEMS Wiki, but be aware<br>
that you will need to find the current patch versions as those in the<br>
Wiki were out of date when I built a new toolkit for RTEMS 4.9.2.<br>
<br>
Simon.<br>
<font color="#888888"><br>
--<br>
Simon Clubley<br>
<a href="mailto:simon.clubley@googlemail.com">simon.clubley@googlemail.com</a><br>
_______________________________________________<br>
rtems-users mailing list<br>
<a href="mailto:rtems-users@rtems.org">rtems-users@rtems.org</a><br>
<a href="http://www.rtems.org/mailman/listinfo/rtems-users" target="_blank">http://www.rtems.org/mailman/listinfo/rtems-users</a><br>
</font></blockquote></div><br>