Hi Phil

The files have been put in $PREFIX/include rather than 
$PREFIX/arm-linux/include.

After an email from Jeff Sutherland I checked the config for glibc and the 
includes are being placed where I told it to, DOH!

What must have happened was that when I configured glibc I set the option 
--prefix=$PREFIX rather than $PREFIX/arm-linux as the notes say. Have to 
remember to be more careful if I ever follow recipes from rec.pyrotechnics :-)

Re configuring glibc and remaking it solved the problem.

Thanks for your help.

john

At 10:09 18/04/01 +0100, you wrote:
> >As this was the first time I was building the cross compiler I used
> >-Dinhibit_libc hack as described in the note. Everything went well till
> >after building libc when I can go back to undo the hack and recompile gcc.
> >But It keeps insisting that the libraries stdlib.h and unistd.h cannot be
> >found.
>
>Well, do you actually have those headers in your target include directory (ie
>$PREFIX/arm-linux/include)?  They should have been installed by glibc, and I
>guess if "make install" completed without errors it thinks it put them
>somewhere.
>
>p.


_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
Please visit the above address for information on this list.

Reply via email to