comp.lang.ada
 help / color / mirror / Atom feed
* Ada on PDA - success!
@ 2003-06-09 15:23 Wojtek Narczynski
  2003-06-09 18:38 ` Robert C. Leif
  2003-06-09 21:08 ` Luke A. Guest
  0 siblings, 2 replies; 12+ messages in thread
From: Wojtek Narczynski @ 2003-06-09 15:23 UTC (permalink / raw)


Hello,

I managed to build GNAT cross compiler for Sharp Zaurus PDA -
http://www.zaurus.com. It was relatively easy, as Zaurus runs Linux.

GCC 3.3 did not work for arm, because there is something undefined for
arm architecture regarding exceptions and libgnat did'n want to link.

The GNAT version from libre.act-europe.fr worked. I had to fix a few
glibc header parameter names, but it was pretty easy.

For complete happiness I'd need to interface GNAT5/GCC 3.2.3 code to
C++ compiled with 2.95.x (Qtopia on Zaurus is compiled with it). Does
anybody know wether it's possible, and how to do this?

Regards,
Wojtek Narczynski


P.S. Here is a'screenshot', it's not a fake :-)

# uname -mr 
2.4.18-rmk7-pxa3-embedix armv5l

# ./hello 
Hello cruel world.



^ permalink raw reply	[flat|nested] 12+ messages in thread

* RE: Ada on PDA - success!
  2003-06-09 15:23 Ada on PDA - success! Wojtek Narczynski
@ 2003-06-09 18:38 ` Robert C. Leif
  2003-06-10 10:10   ` Wojtek Narczynski
  2003-06-09 21:08 ` Luke A. Guest
  1 sibling, 1 reply; 12+ messages in thread
From: Robert C. Leif @ 2003-06-09 18:38 UTC (permalink / raw)
  To: 'Wojtek Narczynski', comp.lang.ada

There are two Zaurus PDAs. The SL5600, which uses the IntelR 400MHz XScaleT
processor and the SL5500, which uses the StrongARM SA-1110, 206MHz. Which
does your version of GNAT work with? Can you cross-compile from a PC running
Windows XP?
Bob Leif   

-----Original Message-----
From: Wojtek Narczynski [mailto:wojtek@power.com.pl] 
Sent: Monday, June 09, 2003 8:24 AM
To: comp.lang.ada@ada.eu.org

Hello,

I managed to build GNAT cross compiler for Sharp Zaurus PDA -
http://www.zaurus.com. It was relatively easy, as Zaurus runs Linux.

GCC 3.3 did not work for arm, because there is something undefined for
arm architecture regarding exceptions and libgnat did'n want to link.

The GNAT version from libre.act-europe.fr worked. I had to fix a few
glibc header parameter names, but it was pretty easy.

For complete happiness I'd need to interface GNAT5/GCC 3.2.3 code to
C++ compiled with 2.95.x (Qtopia on Zaurus is compiled with it). Does
anybody know wether it's possible, and how to do this?

Regards,
Wojtek Narczynski


P.S. Here is a'screenshot', it's not a fake :-)

# uname -mr 
2.4.18-rmk7-pxa3-embedix armv5l

# ./hello 
Hello cruel world.




^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Ada on PDA - success!
  2003-06-09 15:23 Ada on PDA - success! Wojtek Narczynski
  2003-06-09 18:38 ` Robert C. Leif
@ 2003-06-09 21:08 ` Luke A. Guest
  2003-06-10 10:04   ` Wojtek Narczynski
  1 sibling, 1 reply; 12+ messages in thread
From: Luke A. Guest @ 2003-06-09 21:08 UTC (permalink / raw)


On Mon, 09 Jun 2003 08:23:50 -0700, Wojtek Narczynski wrote:

> Hello,
> 
> I managed to build GNAT cross compiler for Sharp Zaurus PDA -
> http://www.zaurus.com. It was relatively easy, as Zaurus runs Linux.

No offence, but that's the easy part. Try porting the runtime. Cross
compiling for another Linux platform is easy.

Luke.




^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Ada on PDA - success!
  2003-06-09 21:08 ` Luke A. Guest
@ 2003-06-10 10:04   ` Wojtek Narczynski
  2003-06-10 17:02     ` Wojtek Narczynski
  0 siblings, 1 reply; 12+ messages in thread
From: Wojtek Narczynski @ 2003-06-10 10:04 UTC (permalink / raw)


"Luke A. Guest" wrote:

> No offence, but that's the easy part.

No problem!

> Cross compiling for another Linux platform is easy.

When you do it second time ;-) Seriously, in this case getting to know
which sources to use was the most time consuming part. Maybe posting
this information here will save somebody this time in the future.

> Try porting the runtime.

There is no need to port runtime for Zaurus, because it is supposed to
run Linux. Yeah, currently it aborts with 'Tasking not supported', but
I think it's the problem of bad choice of files for libgnat.  I'll try
to fix the Makefile later this week.

I don't think I'm going to try to port the runtime any soon though...

Regards,
Wojtek



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Ada on PDA - success!
  2003-06-09 18:38 ` Robert C. Leif
@ 2003-06-10 10:10   ` Wojtek Narczynski
  0 siblings, 0 replies; 12+ messages in thread
From: Wojtek Narczynski @ 2003-06-10 10:10 UTC (permalink / raw)


"Robert C. Leif" <rleif@rleif.com> wrote in message news:<mailman.15.1055183923.1173.comp.lang.ada@ada.eu.org>...
> There are two Zaurus PDAs. The SL5600, which uses the IntelR 400MHz 
> XScaleT processor and the SL5500, which uses the StrongARM SA-1110, 206MHz.
> Which does your version of GNAT work with? 

With SL5600, but it should work on the slower one as well. Do you have
the hardware to give it a try?

> Can you cross-compile from a PC running Windows XP?

Dunno, haven't tried. If you can build native, cross should not be any
harder.

Regards,
Wojtek



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Ada on PDA - success!
  2003-06-10 10:04   ` Wojtek Narczynski
@ 2003-06-10 17:02     ` Wojtek Narczynski
  2003-06-10 17:25       ` Robert A Duff
                         ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Wojtek Narczynski @ 2003-06-10 17:02 UTC (permalink / raw)


wojtek@power.com.pl (Wojtek Narczynski) wrote in message news:<5ad0dd8a.0306100204.8b70275@posting.google.com>...

> I'll try to fix the Makefile later this week.

So I did, then diners example is now working over pthread tasking on
Sharp Zaurus PDA.

Are the ACVC tests freely avaliable? I cannot find them anywhere. And
if not, are there some other tests I could run?


Regards,
Wojtek



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Ada on PDA - success!
  2003-06-10 17:02     ` Wojtek Narczynski
@ 2003-06-10 17:25       ` Robert A Duff
  2003-06-11 16:47         ` Wojtek Narczynski
  2003-06-10 18:11       ` David C. Hoos
  2003-06-10 18:19       ` Stephen Leake
  2 siblings, 1 reply; 12+ messages in thread
From: Robert A Duff @ 2003-06-10 17:25 UTC (permalink / raw)


wojtek@power.com.pl (Wojtek Narczynski) writes:

> Are the ACVC tests freely avaliable? I cannot find them anywhere. And
> if not, are there some other tests I could run?

The ACVC test suite is now called ACATS.  It is available at
www.ada-auth.org.

- Bob



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Ada on PDA - success!
  2003-06-10 17:02     ` Wojtek Narczynski
  2003-06-10 17:25       ` Robert A Duff
@ 2003-06-10 18:11       ` David C. Hoos
  2003-06-10 18:19       ` Stephen Leake
  2 siblings, 0 replies; 12+ messages in thread
From: David C. Hoos @ 2003-06-10 18:11 UTC (permalink / raw)



"Wojtek Narczynski" <wojtek@power.com.pl> wrote in message
news:5ad0dd8a.0306100902.22023f60@posting.google.com...
> wojtek@power.com.pl (Wojtek Narczynski) wrote in message
news:<5ad0dd8a.0306100204.8b70275@posting.google.com>...
>
> > I'll try to fix the Makefile later this week.
>
> So I did, then diners example is now working over pthread tasking on
> Sharp Zaurus PDA.
>
> Are the ACVC tests freely avaliable? I cannot find them anywhere. And
> if not, are there some other tests I could run?

ACVC has been superseted by ACATS.

See the web page:
http://www.adaic.com/compilers/testing.html

Here's a link to the tests themselves:
http://www.adaic.com/compilers/acats/2.5/
>
>
> Regards,
> Wojtek
> _______________________________________________
> comp.lang.ada mailing list
> comp.lang.ada@ada.eu.org
> http://ada.eu.org/mailman/listinfo/comp.lang.ada
>





^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Ada on PDA - success!
  2003-06-10 17:02     ` Wojtek Narczynski
  2003-06-10 17:25       ` Robert A Duff
  2003-06-10 18:11       ` David C. Hoos
@ 2003-06-10 18:19       ` Stephen Leake
  2003-06-11 11:30         ` Wojtek Narczynski
  2 siblings, 1 reply; 12+ messages in thread
From: Stephen Leake @ 2003-06-10 18:19 UTC (permalink / raw)


wojtek@power.com.pl (Wojtek Narczynski) writes:

> wojtek@power.com.pl (Wojtek Narczynski) wrote in message
> news:<5ad0dd8a.0306100204.8b70275@posting.google.com>... 
> 
> > I'll try to fix the Makefile later this week.
> 
> So I did, then diners example is now working over pthread tasking on
> Sharp Zaurus PDA.
> 
> Are the ACVC tests freely avaliable? I cannot find them anywhere. And
> if not, are there some other tests I could run?

SAL (http://www.toadmail.com/~ada_wizard/) comes with a complete set
of tests. They have found bugs in most of the pre-releases of GNAT,
including the latest; if you are using GNAT from gcc 3.3, you'll find
the same bugs :).

-- 
-- Stephe



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Ada on PDA - success!
  2003-06-10 18:19       ` Stephen Leake
@ 2003-06-11 11:30         ` Wojtek Narczynski
  2003-06-11 16:22           ` Stephen Leake
  0 siblings, 1 reply; 12+ messages in thread
From: Wojtek Narczynski @ 2003-06-11 11:30 UTC (permalink / raw)


Stephen,

> SAL (http://www.toadmail.com/~ada_wizard/) comes with a complete set
> of tests. They have found bugs in most of the pre-releases of GNAT,
> including the latest; if you are using GNAT from gcc 3.3, you'll find
> the same bugs :).

I used GCC 3.2.3 and GNAT 5.01w (from libre CVS). It worked:

# ./test_all_harness 
   Total Tests Run:  22

   Successful Tests: 22

   Failed Tests: 0

   Unexpected Errors: 0

Thanks & regards,
Wojtek Narczynski



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Ada on PDA - success!
  2003-06-11 11:30         ` Wojtek Narczynski
@ 2003-06-11 16:22           ` Stephen Leake
  0 siblings, 0 replies; 12+ messages in thread
From: Stephen Leake @ 2003-06-11 16:22 UTC (permalink / raw)


wojtek@power.com.pl (Wojtek Narczynski) writes:

> Stephen,
> 
> > SAL (http://www.toadmail.com/~ada_wizard/) comes with a complete set
> > of tests. They have found bugs in most of the pre-releases of GNAT,
> > including the latest; if you are using GNAT from gcc 3.3, you'll find
> > the same bugs :).
> 
> I used GCC 3.2.3 and GNAT 5.01w (from libre CVS). It worked:
> 
> # ./test_all_harness 
>    Total Tests Run:  22
> 
>    Successful Tests: 22
> 
>    Failed Tests: 0
> 
>    Unexpected Errors: 0

That's good. However, not all of the SAL tests are in
test_all_harness; that's an AUnit test harness, and only the most
recent tests are in it. Run SAL/Build/Gnat_Debug/Makefile for the
complete list of tests; most generate an output file which is then
diff'ed against a known good output file.

GNAT 5.01w from CVS should in fact have all the bug fixes.

-- 
-- Stephe



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Ada on PDA - success!
  2003-06-10 17:25       ` Robert A Duff
@ 2003-06-11 16:47         ` Wojtek Narczynski
  0 siblings, 0 replies; 12+ messages in thread
From: Wojtek Narczynski @ 2003-06-11 16:47 UTC (permalink / raw)


Robert A Duff <bobduff@shell01.TheWorld.com> wrote in message news:<wccisrdhmjm.fsf@shell01.TheWorld.com>...

> The ACVC test suite is now called ACATS. It is available at
> www.ada-auth.org.

My cross compiler passed 2302 (+ 12 tentatively) of 2371 I managed to
compile for it. I have no idea what it means though :-)

Regards,
Wojtek



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2003-06-11 16:47 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-09 15:23 Ada on PDA - success! Wojtek Narczynski
2003-06-09 18:38 ` Robert C. Leif
2003-06-10 10:10   ` Wojtek Narczynski
2003-06-09 21:08 ` Luke A. Guest
2003-06-10 10:04   ` Wojtek Narczynski
2003-06-10 17:02     ` Wojtek Narczynski
2003-06-10 17:25       ` Robert A Duff
2003-06-11 16:47         ` Wojtek Narczynski
2003-06-10 18:11       ` David C. Hoos
2003-06-10 18:19       ` Stephen Leake
2003-06-11 11:30         ` Wojtek Narczynski
2003-06-11 16:22           ` Stephen Leake

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox