|
Prev: ANN: GtkAda contributions v2.2
Next: New release of Cheddar, a GNU GPL real time scheduling analyzer
From: Bryan on 30 Jun 2008 15:43 All, Does anyone know if it is possible to generate a cross build of gcc with ada support that targets an ARM processor, specifically a gumstix embedded board with Marvell Xscale PXA270? The host is an x86 machine running ubuntu. If it is possible does anyone have a quick step by step what do i need to build and where are the possible traps? I have tried using the build environment for the gumstix with no success, gcc always fails with a rather cryptic error message usually involving some kind of source code error. Any help would be greatly appreciated. Thanks, Bryan Campbell
From: Gene on 30 Jun 2008 20:04 On Jun 30, 3:43 pm, Bryan <kamikaze.de...(a)gmail.com> wrote: > All, > > Does anyone know if it is possible to generate a cross build of gcc > with ada support that targets an ARM processor, specifically a gumstix > embedded board with Marvell Xscale PXA270? The host is an x86 machine > running ubuntu. If it is possible does anyone have a quick step by > step what do i need to build and where are the possible traps? I have > tried using the build environment for the gumstix with no success, gcc > always fails with a rather cryptic error message usually involving > some kind of source code error. Any help would be greatly appreciated. > > Thanks, > > Bryan Campbell Thanks! I'm very interested in this as well. Some of my folks tried pretty hard and could not get it to work, but that was 2 versions of gcc ago. We could build a cross-compiler, but never a usable runtime, so we gave up. I wrote AdaCore asking what it would cost for them to do the work and received no reply.
From: Samuel Tardieu on 1 Jul 2008 03:39 >>>>> "Gene" == Gene <gene.ressler(a)gmail.com> writes: Bryan> Does anyone know if it is possible to generate a cross build of gcc Bryan> with ada support that targets an ARM processor, specifically a Bryan> gumstix embedded board with Marvell Xscale PXA270? The host is an Bryan> x86 machine running ubuntu. If it is possible does anyone have a Bryan> quick step by step what do i need to build and where are the Bryan> possible traps? I have tried using the build environment for the Bryan> gumstix with no success, gcc always fails with a rather cryptic Bryan> error message usually involving some kind of source code error. Any Bryan> help would be greatly appreciated. Gene> Thanks! I'm very interested in this as well. Some of my folks Gene> tried pretty hard and could not get it to work, but that was 2 Gene> versions of gcc ago. We could build a cross-compiler, but never Gene> a usable runtime, so we gave up. I wrote AdaCore asking what it Gene> would cost for them to do the work and received no reply. Bryan, Gene, if you want to give it a try, I produced a quick patch for the latest GCC SVN trunk which may work or may not work. You must: - fetch the latest GCC sources from the FSF, SVN trunk, see http://gcc.gnu.org/svn.html to retrieve the sources - apply the patch found at http://www.rfc1149.net/tmp/arm-linux-gnat-port.patch - build and install a native Ada+C compiler from those patched sources - build and install a cross compiler from those patched sources using the compiler built previously (it is important to have the cross-compiler built from a native compiler using the same version) I do not have any ARM board to test it. Please keep me informed privately (maybe keeping each other in Cc:) of how it went, so that I can add this patch to the GCC sources if it is working for you. Sam -- Samuel Tardieu -- sam(a)rfc1149.net -- http://www.rfc1149.net/
From: micronian2 on 1 Jul 2008 12:49 On Jun 30, 12:43 pm, Bryan <kamikaze.de...(a)gmail.com> wrote: > All, > > Does anyone know if it is possible to generate a cross build of gcc > with ada support that targets an ARM processor, specifically a gumstix > embedded board with Marvell Xscale PXA270? The host is an x86 machine > running ubuntu. If it is possible does anyone have a quick step by > step what do i need to build and where are the possible traps? I have > tried using the build environment for the gumstix with no success, gcc > always fails with a rather cryptic error message usually involving > some kind of source code error. Any help would be greatly appreciated. > > Thanks, > > Bryan Campbell Hi, I am currently playing with RTEMS 4.8.99 targeted for the Game Boy Advance which is ARM based. I used the instructions found at http://www.rtems.com/wiki/index.php/RTEMSAda to build the cross compiler. My setup is Slackware-current with GCC 4.2.3. Micronian Coder
From: Bryan on 1 Jul 2008 13:49 On Jul 1, 12:49 pm, microni...(a)gmail.com wrote: > On Jun 30, 12:43 pm, Bryan <kamikaze.de...(a)gmail.com> wrote: > > > All, > > > Does anyone know if it is possible to generate a cross build of gcc > > with ada support that targets an ARM processor, specifically a gumstix > > embedded board with Marvell Xscale PXA270? The host is an x86 machine > > running ubuntu. If it is possible does anyone have a quick step by > > step what do i need to build and where are the possible traps? I have > > tried using the build environment for the gumstix with no success, gcc > > always fails with a rather cryptic error message usually involving > > some kind of source code error. Any help would be greatly appreciated. > > > Thanks, > > > Bryan Campbell > > Hi, > > I am currently playing with RTEMS 4.8.99 targeted for the Game Boy > Advance which is ARM based. I used the instructions found athttp://www.rtems.com/wiki/index.php/RTEMSAdato build the cross > compiler. My setup is Slackware-current with GCC 4.2.3. > > Micronian Coder I tried those instructions prior to posting here but the platform I am building for uses posix threading instead of RTEMS threads and the gcc compilation failed after changing the threading model in the configuration. The other complication is that the kernel is built for this target using the openembedded bitbake method which I don't quite understand yet. -Bryan
|
Next
|
Last
Pages: 1 2 Prev: ANN: GtkAda contributions v2.2 Next: New release of Cheddar, a GNU GPL real time scheduling analyzer |