This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: sys/types.h is broken for _POSIX_THREADS


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
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]