This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCC -3.4.0 build error for arm?


On 2004-05-29 at 04:24:45 Poornachandran, RajeshX wrote:

>  I am trying to build GCC tool chain with gcc-3.4.0 and linux -2.6.5 for
> arm arch. I get the following build error. I have applied the gcc-3.4.0
> patch and I have disabled the multilib too. 

> /usr/local/xscale/arm-linux/gcc-3.4.0-glibc-2.3.2/arm-linux/bin/ld:
> cannot find -lc
> collect2: ld returned 1 exit status
> make[2]: *** [libgcc_s.so] Error 1

If this is the first stage gcc you are building, you need to disable
shared libraries with --disable-shared.  It now seems to barf on
building libgcc_s.so, which needs libc.so to link.  Why don't you try
using crosstool, this automatically sets the right options for you.

Attachment: pgp00000.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]