This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Ada/GNAT runtime library?
- From: Florian Weimer <fw at deneb dot enyo dot de>
- To: dewar at gnat dot com (Robert Dewar)
- Cc: berndtrog at yahoo dot com, gcc at gcc dot gnu dot org
- Date: Fri, 18 Oct 2002 18:16:59 +0200
- Subject: Re: Ada/GNAT runtime library?
- References: <20021018161105.DED3AF28F4@nile.gnat.com>
dewar@gnat.com (Robert Dewar) writes:
>> These are GNU libc bugs (or missing features) and should be fixed
>> there.
> No, that's quite wrong, on most targets the thread package is supplied
> by the manufacturer it has nothing to do with GNU libc.
I was talking about the GNU platforms, of course. autoconf-based
portability to other GNU-supported architectures should be possible
(if POSIX threads are provided by GNU libc), otherwise there is some
portability problem which might not affect only GNAT, but a wider
range of software. That's why I think these issues should be
addressed in GNU libc, so that all applications can benefit.
>> Timer frequencies?
>
> Just an example, the issue of how you know the timer frequency, whether
> the timer has to be initialized etc.
Ah, you can't get this information on Linux. It's shielded by the
kernel. There are some traditional values for HZ on most
architectures, but these values can change (and recently did on x86,
AFAIK).