comp.lang.ada
 help / color / mirror / Atom feed
From: slos <new.stephane.los@gmail.com>
Subject: Re: ANN: Simple Components for Ada v4.20
Date: Mon, 13 Mar 2017 03:17:19 -0700 (PDT)
Date: 2017-03-13T03:17:19-07:00	[thread overview]
Message-ID: <28920eeb-46d3-4377-889b-a0601015eb44@googlegroups.com> (raw)
In-Reply-To: <oa5o97$cmp$1@gioia.aioe.org>

Le lundi 13 mars 2017 10:20:40 UTC+1, Dmitry A. Kazakov a écrit :
> On 13/03/2017 09:42, slos wrote:
> 
> > Björn and I have a little problem with Simple Components on the Raspberry Pi :
> > https://sourceforge.net/p/gnoga/mailman/message/35718432/
> >
> > Maybe you have an idea of what's wrong with it ?
> >
> > Or maybe you could direct us where we should look at ?
> 
> The first check, when you build from sources, is the Atomic_Access 
> scenario for your target. It is "Pragma-atomic" vs. "GCC-built-ins" vs. 
> "GCC-long-offsets". On a 32-bit target that does not support pragma 
> Atomic for 64-bit objects but nevertheless has Storage_Offset 64 bit 
> long, it must be "GCC-long-offsets".
> 
> If you don't use original project file, you must take the sources from 
> the corresponding subdirectory of ./atomic-access.
> 
> P.S. Sorry if that looks complicated. ARM should really have mandated 
> pragma Atomic working for all scalar types, at least for all types 
> declared in the package System and its children.
> 
> -- 
> Regards,
> Dmitry A. Kazakov
> http://www.dmitry-kazakov.de

Thanks for your fast answer.

I've never bothered about this option "GCC-long-offsets" and, as it is the default, always used that on all platforms I have built Gnoga and Simple Components.

The Raspberry Pi Model 1 B / B+ uses this chip :
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0301h/index.html

Could you tell please if "GCC-long-offsets" is the right choice ?

Thanks again for your kind support.

BR,
Stéphane


  reply	other threads:[~2017-03-13 10:17 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-12  8:39 ANN: Simple Components for Ada v4.20 Dmitry A. Kazakov
2017-03-12 11:49 ` Björn Lundin
2017-03-12 13:16   ` Dmitry A. Kazakov
2017-03-13  8:42     ` slos
2017-03-13  9:20       ` Dmitry A. Kazakov
2017-03-13 10:17         ` slos [this message]
2017-03-13 10:50           ` Dmitry A. Kazakov
2017-03-13 14:09             ` slos
2017-03-13 15:22               ` Dmitry A. Kazakov
2017-03-13 10:44         ` slos
2017-03-13  9:09     ` G.B.
2017-03-13  9:52       ` Dmitry A. Kazakov
replies disabled

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