I have tried to set --with-headers pointing to where glibc
installed. The compilation continues and stop at a error message --- cannot
find crti.o (.......... !)

        After compiling glibc,  I got this file. However, arm-linux-ld
trying to find that in <TARGET_PREFIX>/arm-linux/lib rather than
<TARGET_PREFIX>/lib. So, I create softlink for all stuffs and the
compilation continues ....

        After that, the compilation stops when compiling libstdc++v3. This
time, Segmentation fault from tcc when compiling misc-inst.cc at line 99. It
asks me to submit bug report......

        Should I continue Or try another glibc version? Thanks.

       Thanks very much.

Jacky

----- Original Message -----
From: "Phil Blundell" <[EMAIL PROTECTED]>
To: "Jacky Lam" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, January 22, 2002 9:10 PM
Subject: Re: Gcc 3.03 compilation problem


> On Tue, 2002-01-22 at 13:04, Jacky Lam wrote:
> >     However, after glibc is built successfully, I make distclean, clean
up
> > gcc/config/arm/t-linux, reconfigure gcc and make. It still complains
about
> > stdio.h cannot be found.
> >
> >     The line I config gcc is:
> >
> >
./configure --prefix=XXX --build=i686-pc-linux --target=arm-linux --with-hea
> > ders=XXX
> >
> >     What's wrong with it? Thanks.
>
> It's hard to say.  Most likely, the particular XXX that you used for
> "--with-headers" doesn't match the place that glibc got installed.
>
> If you configure glibc with --prefix=/usr/local/arm-linux or something
> of that kind, you should be able to configure gcc with just
> --prefix=/usr/local and omit the --with-headers altogether.
>
> p.
>
>
> _______________________________________________
> http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
> Please visit the above address for information on this list.


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

Reply via email to