pthread.h: No such file or directory

Rupert Wood me@rupey.net
Wed Sep 6 12:51:00 GMT 2006


Kai Ruotto wrote:

> Iwan Koenig wrote :
>
> > I'm trying to compile the gcc-4.1.1 for the target powerpc-linux.
> > Thus it run i so:
> > ../configure --target=powerpc-linux --prefix=/usr      
> >                                           
> > --without-headers
> The Linux/PPC target has headers in its C library, "glibc", so why this?
>
> >  --with-newlib
>  Linux doesn't use newlib, it uses glibc...

and if you don't already have glibc built for your target you can use the
crosstool script

    http://kegel.com/crosstool/

which will build gcc, binutils and glibc for you.

Rup.


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________



More information about the Gcc-help mailing list