Yes, it works. So, the total procedure to built bootstrap gcc is:
1) According to how to in ARM Linux website , plus
2) ReadMe in ftp://ftp.linux.org.uk/pub/armlinux/toolchain/README,
plus
3) Pass --disable-shared to configure
However, I found that glibc 2.2.4-5 cannot be compiled by GCC 3.0.X.
Some underdefined symbol is result in libc.so.6.
So, I go back to glibc-2.1.3 with GCC 3.0.3.
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.
Jacky
----- Original Message -----
From: "Phil Blundell" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, January 22, 2002 6:10 PM
Subject: Re: Gcc 3.03 compilation problem
> On Tue, 2002-01-22 at 04:17, Jacky Lam wrote:
> > However, after fixing that, it complaint about crti.o not found when
> > compiling libgcc_s.so. This time I don't what to do?
>
> --disable-shared? I haven't actually tried it, but that might be worth
> a shot.
>
> p.
_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
Please visit the above address for information on this list.