glibc-2.1.2 cross-compile problem

Matt Porter mmporter at home.com
Thu Apr 27 05:01:02 EST 2000


On Wed, Apr 26, 2000 at 02:37:25PM +0000, Elizabeth Clarke wrote:
>
> Graham Stoney wrote:
> >
> > Elizabeth Clarke writes:
> > > I'm having a problem compiling glibc-2.1.2 using the xppc
> > > cross-compilation toolset. I (believe I) have followed the instructions
> > > for patching glibc and all seemed fine, but I get the following, any help
> > > much appriciated!:
> >
> > Are you running gcc-2.95.2?
>
> I wasn't, but I grabbed it yesterday afternoon and been trying to
> compile it as per the instructions at
> http://members.home.net/mmporter/linux/cross/ which I found in your FAQ.
> I grabbed and compiled the latest binutils okay. But.... can't get gcc
> to compile. It took a little pursuading before it would use the
> new binutils, and now complains about stdio.h being missing:
>
> /usr/local/src/gcc-2.95.2/gcc/xgcc -B/usr/local/src/gcc-2.95.2/gcc/
> -B/usr/local/powerpc-linux/bin/ -c -DHAVE_CONFIG_H -g -O2 -I.
> -I./../../include  choose-temp.c
> choose-temp.c:29: stdio.h: No such file or directory

Are you sure you followed the directions on my site?  You need to
configure your build of gcc with "--with-newlib" then link to your
kernel headers, then build glibc.

--
Matt Porter
mmporter at home.com
This is Linux Country. On a quiet night, you can hear Windows reboot.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list