Newbie to RTEMS: ADA support issue

Ángel leadzeppelin at gmail.com
Wed Jun 17 14:54:45 UTC 2009


Thank you, Joel.

The install process finished with no errors with --disable-tests and
--disable-docs options.

I am trying to compile the hello_world_ada sample without sucess:

~/RTEMS/ada-examples/hello_world_ada$ make
i386-rtems4.10-gnatmake -g -v  \
            -I/opt/rtems-4.10/i386-rtems4.10/pc386/lib/include/adainclude \
         -O -gnata -gnatE -gnato -g hello -o hello.exe \
        -bargs -Mgnat_main \
        -largs -B/opt/rtems-4.10/i386-rtems4.10/pc386/lib/ -specs=bsp_specs
-qrtems -mtune=i386  -Dpc386 -Wl,-Ttext,0x00100000  \
        rtems_init.o  \

After installation, the /opt/rtems4.10/bin directory, which is in $PATH,
contains the following files:

rwxr-xr-x 2 root root   31214 2009-05-18 19:01 aclocal
-rwxr-xr-x 2 root root   31214 2009-05-18 19:01 aclocal-1.11
-rwxr-xr-x 1 root root   14642 2009-04-07 07:05 autoconf
-rwxr-xr-x 1 root root    8506 2009-04-07 07:05 autoheader
-rwxr-xr-x 1 root root   31811 2009-04-07 07:05 autom4te
-rwxr-xr-x 2 root root  257044 2009-05-18 19:01 automake
-rwxr-xr-x 2 root root  257044 2009-05-18 19:01 automake-1.11
-rwxr-xr-x 1 root root   20266 2009-04-07 07:05 autoreconf
-rwxr-xr-x 1 root root   17098 2009-04-07 07:05 autoscan
-rwxr-xr-x 1 root root   33799 2009-04-07 07:05 autoupdate
-rwxr-xr-x 1 root root   21323 2009-06-17 10:42 cklength
-rwxr-xr-x 1 root root   21359 2009-06-17 10:42 eolstrip
-rwxr-xr-x 1 root root  549352 2009-05-31 10:53 i386-rtems4.10-addr2line
-rwxr-xr-x 2 root root  573752 2009-05-31 10:53 i386-rtems4.10-ar
-rwxr-xr-x 2 root root 1007128 2009-05-31 10:53 i386-rtems4.10-as
-rwxr-xr-x 2 root root  197780 2009-05-31 22:14 i386-rtems4.10-c++
-rwxr-xr-x 1 root root  549160 2009-05-31 10:53 i386-rtems4.10-c++filt
-rwxr-xr-x 1 root root  196788 2009-05-31 22:14 i386-rtems4.10-cpp
-rwxr-xr-x 2 root root  197780 2009-05-31 22:14 i386-rtems4.10-g++
-rwxr-xr-x 2 root root  195096 2009-05-31 22:14 i386-rtems4.10-gcc
-rwxr-xr-x 2 root root  195096 2009-05-31 22:14 i386-rtems4.10-gcc-4.4.0
-rwxr-xr-x 1 root root   16412 2009-05-31 22:13 i386-rtems4.10-gccbug
-rwxr-xr-x 1 root root   27456 2009-05-31 22:14 i386-rtems4.10-gcov
-rwxr-xr-x 1 root root 2579296 2009-05-31 11:30 i386-rtems4.10-gdb
-rwxr-xr-x 1 root root 2579296 2009-05-31 11:30 i386-rtems4.10-gdbtui
-rwxr-xr-x 1 root root  611524 2009-05-31 10:53 i386-rtems4.10-gprof
-rwxr-xr-x 2 root root  836824 2009-05-31 10:53 i386-rtems4.10-ld
-rwxr-xr-x 2 root root  558932 2009-05-31 10:53 i386-rtems4.10-nm
-rwxr-xr-x 2 root root  706488 2009-05-31 10:53 i386-rtems4.10-objcopy
-rwxr-xr-x 2 root root 1034616 2009-05-31 10:53 i386-rtems4.10-objdump
-rwxr-xr-x 2 root root  573756 2009-05-31 10:53 i386-rtems4.10-ranlib
-rwxr-xr-x 1 root root  253788 2009-05-31 10:53 i386-rtems4.10-readelf
-rwxr-xr-x 1 root root  553444 2009-05-31 10:53 i386-rtems4.10-size
-rwxr-xr-x 1 root root  549352 2009-05-31 10:53 i386-rtems4.10-strings
-rwxr-xr-x 2 root root  706484 2009-05-31 10:53 i386-rtems4.10-strip
-rwxr-xr-x 1 root root    4060 2009-04-07 07:05 ifnames
-rwxr-xr-x 1 root root    3083 2009-06-17 10:42 install-if-change
-rwxr-xr-x 1 root root   26117 2009-06-17 10:42 packhex
-rwxr-xr-x 1 root root   19322 2009-06-17 10:42 rtems-bin2c
-rwxr-xr-x 1 root root   29155 2009-06-17 10:42 unhex

We can see that "i386-rtems4.10-gnatmake" is missing.

First of all, I installed GNAT in my computer. After that, installed the
prebuilt rpm packages from ftp. Finally, downloaded CVS - bootstrap - make
all - make install. I have compiled the hello world C example sucessfully,
but with the ADA version I have the problem I have explained.

Thanks for your help.

2009/6/15 Joel Sherrill <joel.sherrill at oarcorp.com>

> Ángel wrote:
>
>> Hi,
>>
>> I have successfully installed the prebuilt tools set and downloaded the
>> CVS.
>>
>> My problem is that the configure script does not recognize the
>> --enable-ada option, as indicated in
>> http://www.rtems.com/wiki/index.php/RTEMSAda:
>>
>>  I think the --enable-option-checking is making each "sub-configure"
> script
> tell you that it doesn't process that option.  It really only means when
> you are
> in directory X, --enable-XYZ is being ignored.  No big deal.
>
> --joel
>
>  $ ../cvs/configure --target=i386-rtems4.10 --enable-rtemsbsp="pc386"
>> --enable-ada --enable-option-checking | grep WARNING
>> configure: WARNING: unrecognized options: --enable-ada
>> configure: WARNING: unrecognized options: --enable-rtemsbsp, --enable-ada
>> configure: WARNING: unrecognized options: --enable-rtemsbsp, --enable-ada
>> configure: WARNING: unrecognized options: --enable-rtemsbsp, --enable-ada
>> configure: WARNING: unrecognized options: --enable-rtemsbsp, --enable-ada
>> configure: WARNING: unrecognized options: --enable-rtemsbsp, --enable-ada
>> configure: WARNING: unrecognized options: --enable-rtemsbsp, --enable-ada
>> configure: WARNING: unrecognized options: --enable-rtemsbsp, --enable-ada
>> configure: WARNING: unrecognized options: --enable-rtemsbsp, --enable-ada
>> configure: WARNING: unrecognized options: --enable-rtemsbsp, --enable-ada
>> configure: WARNING: unrecognized options: --enable-rtemsbsp, --enable-ada
>> configure: WARNING: unrecognized options: --enable-ada,
>> --with-target-subdir
>> configure: WARNING: unrecognized options: --enable-ada,
>> --with-target-subdir
>> configure: WARNING: unrecognized options: --enable-ada
>>
>> Without --enable-ada option I have successfully installed RTEMS and built
>> the C examples.
>>
>> Thanks in advance.
>>
>>
>>
>>
>>
>
> --
> Joel Sherrill, Ph.D.             Director of Research & Development
> joel.sherrill at OARcorp.com        On-Line Applications Research
> Ask me about RTEMS: a free RTOS  Huntsville AL 35805
>  Support Available             (256) 722-9985
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20090617/19294566/attachment.html>


More information about the users mailing list