pthread support in newlib for powerpc-eabi cross GCC

View: New views
2 Messages — Rating Filter:   Alert me  

pthread support in newlib for powerpc-eabi cross GCC

by Jeffi Edward.J :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,

I build cross tool chain for powerpc-eabi platform with newlib.
When i compiled a POSIX thread program, gcc issues error. In few pages I could see that current newlib doesnt have support of pthread for powerpc-eabi platform.
Is there any other way to add pthread support for GCC with newlib?
Sorry if this is not the correct forum to post this query.

Thanks,
Jeffi

Re: pthread support in newlib for powerpc-eabi cross GCC

by Ralf Corsepius-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 10/23/2009 08:43 AM, j.jeffi@... wrote:
> Hi all,
>
> I build cross tool chain for powerpc-eabi platform with newlib.
> When i compiled a POSIX thread program, gcc issues error. In few pages I could see that current newlib doesnt have support of pthread for powerpc-eabi platform.
Correct.

> Is there any other way to add pthread support for GCC with newlib?
pthread support is non-trivial. In general, it requires an OSes/kernel
or similar underneath of GCC and newlib.

Ralf