This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: unable to build glibc-2.2.5 with gcc-3.1 for ARM
On Thu, May 30, 2002 at 11:21:45AM -0400, Daniel Jacobowitz wrote:
> On Thu, May 30, 2002 at 11:08:49AM -0400, Josh Fryman wrote:
> >
> > hi,
> >
> > i may have munged something in this sequence of operations, but i'm trying to
> > build a new cross-hosted gcc and glibc combo with gcc-3.1. i'm hosting on an
> > i686-pc-linux-gnu, and targeting an arm-v4l-linux / strongarm110.
> >
> > the end result is that in the middle of glibc-2.2.5 compile, it fails with the
> > message 'no rule to make target misc/iopl.o' needed by (modules).
> >
> > is this a known issue, or have i broken something along the way? here's the
> > sequence of steps i've followed ... with the error message at the bottom.
> > hopefully someone knows what's gone wrong...
>
> Glibc is not a cross tool like GCC; it's a target library. You need to
> configure it with --host, not --target.
>
More precisely, you should use
.../configure arm-v4l-linux --build=i686-pc-linux-gnu
H.J.