comp.lang.ada
 help / color / mirror / Atom feed
From: Fernando Oleo Blanco <irvise_ml@irvise.xyz>
Subject: Re: Help: Ada in NetBSD
Date: Fri, 17 Sep 2021 19:19:54 +0200	[thread overview]
Message-ID: <si2inq$11pn$1@gioia.aioe.org> (raw)
In-Reply-To: p9jvjgd6gju9dk4l2d3upev4bb9u3q6c93@4ax.com

On 14.09.21 00:24, Dennis Lee Bieber wrote:
> 	The difference between 32 and 64 bit is significant when compiling
> code, as it determines if the code does native 64-bit "long integers" or
> requires software emulation for such data lengths.
> 

While I understand that part, I still do not fully understand why do we 
need _exact_ entries for the same OS but different architectures. If we 
are just copypasting code, it would be cleaner, shorter, more 
maintainable and concise to just match over the OS and not the arch.

And I think there are no architecture dependent bits int the (large) OS 
entries in the Makefile.rtl file. I would expect  the compiler to do as 
you say, generate valid code for that architecture. But that would be 
the task of the compiler itself, not the RTL in large OSes (Linux, 
*BSDs), the RTL in those cases just simply translates the 
utilities/tools that the OS provides. Once again, the entries for x86 
and x86_64 of FreeBSD are a exact copy.

I am not saying that you are wrong, I am just trying to understand the 
why of this multiplication of effort. I saw nothing there that would 
affect the type of compilation as you describe it, like compiler directives.

Regards,
-- 
Fernando Oleo Blanco
https://irvise.xyz

      reply	other threads:[~2021-09-17 17:19 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-29 11:06 Help: Ada in NetBSD Fernando Oleo Blanco
2021-08-29 13:19 ` Stephane Carrez
2021-08-29 18:08   ` Fernando Oleo Blanco
2021-08-29 18:25     ` Simon Wright
2021-08-29 20:36       ` Fernando Oleo Blanco
2021-08-29 22:08         ` Stephane Carrez
2021-08-30  7:37           ` Simon Wright
2021-08-30  8:14           ` Fernando Oleo Blanco
2021-08-30 10:24             ` Fernando Oleo Blanco
2021-08-30 12:15               ` Fernando Oleo Blanco
2021-08-30 18:49                 ` Fernando Oleo Blanco
2021-08-30 19:23                   ` Simon Wright
2021-09-01  9:44                     ` Fernando Oleo Blanco
2021-09-01 21:41                       ` Simon Wright
2021-09-02 22:16                       ` Randy Brukardt
2021-09-03 20:18                         ` Simon Wright
2021-08-29 17:34 ` Simon Wright
2021-08-29 17:45   ` Fernando Oleo Blanco
2021-09-01 13:28 ` John R. Marino
2021-09-01 14:58   ` Fernando Oleo Blanco
2021-09-17 17:36     ` Fernando Oleo Blanco
2021-09-18 16:39       ` Fernando Oleo Blanco
2021-09-22 20:05         ` Fernando Oleo Blanco
2021-09-22 20:57           ` Simon Wright
2021-09-23  8:04           ` Luke A. Guest
2021-09-23 10:48             ` Kevin Chadwick
2021-09-23 17:01               ` Fernando Oleo Blanco
2021-09-23 17:04             ` Fernando Oleo Blanco
2021-09-23 19:53           ` Fernando Oleo Blanco
2021-09-24  7:48             ` Simon Wright
2021-09-24  9:44               ` Fernando Oleo Blanco
2021-09-13 18:49   ` Fernando Oleo Blanco
2021-09-13 22:24     ` Dennis Lee Bieber
2021-09-17 17:19       ` Fernando Oleo Blanco [this message]
replies disabled

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