This is the mail archive of the crossgcc@sourceware.org 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: invalid lvalue error when trying to build bootstrap gcc


白云城主叶孤城 said the following on 8/14/2006 4:15 AM:
> hi guys,I was trying to build arm-linux embedded system.
> When I was making bootstrap gcc, I got the following error:
> ./config/arm/arm.c: In function 'arm_override_options' :
> ./config/arm/arm.c:286: warning: assignment discards qualifiers from
> pointer target type
> ./config/arm/arm.c:530: error: invalid lvalue in assignment
> make[2]: *** [arm.o] Error 1
> make[2]: Leaving directory `embedded/build-tools/gcc-2.95.3/gcc'
> make[1]: *** [bootstrap] Error 2
> make[1]: Leaving directory embedded/build-tools/gcc-2.95.3/gcc'
> make: *** [bootstrap] Error 2
>
>
> My PC host:
> i386-redhat fedora5 kernel 2.6.15
> gcc version: 4.1.0
>
> What am I going to do?
> Please help me out of this.
>
Install gcc-32 package on fedora using yum or rpm and set your
CC=/usr/bin/gcc32 when you build 2.95 compiler.
then it should be fine.

-- 
Khem Raj
kraj@mvista.com
MontaVista Software - www.mvista.com


--
For unsubscribe information see http://sourceware.org/lists.html#faq


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