Newbie to RTEMS: ADA support issue
Ángel
leadzeppelin at gmail.com
Thu Jun 18 13:25:07 UTC 2009
Hi, Simon.
$ i386-rtems4.10-gcc -v
Using built-in specs.
Target: i386-rtems4.10
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++
Thread model: rtems
gcc version 4.4.0 (GCC)
The configure params for the configure script were:
../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
I disabled the tests and docs options because the make step fails when
enabling them.
Thanks!
2009/6/18 Simon Clubley <simon.clubley at googlemail.com>
> On 17/06/2009, Ángel <leadzeppelin at gmail.com> wrote:
> >
> > 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.
> >
>
> As are the other GNAT related utilities. What does "i386-rtems4.10-gcc -v"
> say ?
>
> If the prebuilt tools don't support Ada (I've never used them as I've
> always built my own tool kit from source) then you will have to build
> your own toolkit.
>
> The instructions for doing that are in the RTEMS Wiki, but be aware
> that you will need to find the current patch versions as those in the
> Wiki were out of date when I built a new toolkit for RTEMS 4.9.2.
>
> Simon.
>
> --
> Simon Clubley
> simon.clubley at googlemail.com
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.org
> http://www.rtems.org/mailman/listinfo/rtems-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20090618/83c2f4bb/attachment-0001.html>
More information about the users
mailing list