demo-ppc405.sh and gnat
Laurent GUERBY
laurent@guerby.net
Fri Jun 24 20:15:00 GMT 2005
Hi Scott, I did put together some instructions to compile
successfully a cross GCC Ada compiler to an RTEMS
target based on 4.0 a few month ago:
http://www.rtems.com/phpwiki/index.php/RTEMSAda
I haven't tested it in a while.
To have tasking working you need to have an advanced thread library and
the corresponding Ada layer in the GNAT sources, RTEMS provides both.
Laurent
On Tue, 2005-06-21 at 13:59 -0600, Scott McConnell wrote:
> I have been working on building GCC/GNAT for PPC405. (Host: Linux Intel)
>
> I am using 0.35 of crosstool and added the following line after the "make all" and before the "make install":
>
> make -C gcc gnatlib cross-gnattools ada.all.cross
>
>
> I am using GCC 3.4.1 glib 3.2.3
>
> I have been successful in the build a cross compiler and all the gnat tools. I have compiled a simple program compiled it and executed it on a PPC board running Linux.
>
> However, I am unable to execute a program that uses Ada tasking.
>
> When I execute the program the following message is reported:
> "failed run-time assertion : Tasking not implemented on this configuration"
>
> This above message occurs if the system was configured with "--enable-threads=posix" or with "--enable-threads=gnat".
>
> I have searched several mail list and used search engines to get me to where I am at this point. However, I am having great difficulty finding useful documentation on building GNAT.
>
> So here are my question:
>
> Do I have a userland problem?
> If yes, what library do I need to install on my PPC system?
>
> If this is a gcc configuration problem what options should I be using on the configure?
> What command should be used to make the gnat system?
>
> Note, I have built a native GCC/Gnat system and Ada tasking works in that environment.
>
> Does anyone know the correct configure options and build commands for GCC 4.0. and GLIB 2.3.5?
> I ask this because the commands I used above are not defined for the latest release.
>
> Should I direct these questions to the GCC mail list?
>
>
> Thanks for you consideration,
>
> Scott McConnell
>
>
> ------
> Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
> Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
>
>
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
More information about the crossgcc
mailing list