sys/types.h is broken for _POSIX_THREADS
Renato Caldas
seventhguardian@gmail.com
Thu Feb 25 09:00:00 GMT 2010
On Wed, Feb 24, 2010 at 5:54 PM, Ralf Corsepius
<ralf.corsepius@rtems.org> wrote:
> On 02/24/2010 05:57 PM, Renato Caldas wrote:
>>
>> Aparently the problem was that I was using an arm-rtems4.10-eabi
>> target.. Using an arm-rtems4.10 target seemed to fix things (strange).
>
> Not strange:
>
> # /usr/share/automake-1.11/config.sub arm-rtems4.10-eabi
> arm-rtems4.10-eabi
> # /usr/share/automake-1.11/config.sub arm-rtems4.10
> arm-unknown-rtems4.10
>
> i.e.
> arm-rtems4.10 is a short-cut for arm-unknown-rtems4.10, which means
> CPU=arm, VENDOR=unknown, OS=rtems4.10,
> while
> arm-rtems4.10-eabi means
> CPU=arm, VENDOR=rtems4.10, OS=eabi.
>
> Something entirely different.
You're right. I assumed "eabi" or "gnueabi" were suffixes that were
supported by all targets. Only linux supports -gnueabi
(arm-unknown-linux-gnueabi), and there's the bare metal eabi
(arm-unknown-eabi). My mistake, I'm sorry...
Cheers,
Renato
> Ralf
>
More information about the Newlib
mailing list