From: Elizabeth Clarke <eclarke@aminocom.com>
To: Matt Porter <mmporter@home.com>
Cc: linuxppc-dev@lists.linuxppc.org, linuxpp-embedded@lists.linuxppc.org
Subject: Re: glibc-2.1.2 cross-compile problem
Date: Thu, 27 Apr 2000 14:22:26 +0000 [thread overview]
Message-ID: <39084D22.417A2FC3@aminocom.com> (raw)
In-Reply-To: 20000426120102.E27105@cx258813-a.chnd1.az.home.com
Matt Porter wrote:
> > /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.
Yes... after all they are not complex instructions.
I sorted that problem (stdio.h missing) by copying the newlib headers
into /usr/local/powerpc-linux/include. So it gets past that now. But....
/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 -g -O2 -I. -I. -D_IO_MTSAFE_IO
iogetline.c -o pic/iogetline.o
/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 -g -O2 -I. -I. -D_IO_MTSAFE_IO
iogetline.c
In file included from iolibio.h:1,
from libioP.h:47,
from iogetline.c:26:
libio.h:30: _G_config.h: No such file or directory
make[1]: *** [iogetline.o] Error 1
make[1]: Leaving directory
`/usr/local/src/gcc-2.95.2/powerpc-linux/libio'
So now I'm where Graham Stoney was at Date: Thu, 12 Aug 1999 14:34:44
-0400.
I *think* it is looking for _G_config.h from my host includes, but it
simply isn't putting the path on the command line. Which I think it did
at one point, or at least on of those -I. was -I./../../include.
Arghh I'm must be going mad, or stupid. Surely its should not be as bad
as this?
Any help very much appreciated!
Beth
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2000-04-27 14:22 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-04-20 16:43 glibc-2.1.2 cross-compile problem Elizabeth Clarke
2000-04-26 0:24 ` Graham Stoney
2000-04-26 14:37 ` Elizabeth Clarke
2000-04-26 16:58 ` David Edelsohn
2000-04-26 19:01 ` Matt Porter
2000-04-27 14:22 ` Elizabeth Clarke [this message]
2000-04-28 0:42 ` Graham Stoney
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=39084D22.417A2FC3@aminocom.com \
--to=eclarke@aminocom.com \
--cc=linuxpp-embedded@lists.linuxppc.org \
--cc=linuxppc-dev@lists.linuxppc.org \
--cc=mmporter@home.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).