invalid lvalue error when trying to build bootstrap gcc

Dave Korn dave.korn@artimi.com
Mon Aug 14 11:30:00 GMT 2006


On 14 August 2006 12:15, ??????? wrote:

> 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

> My PC host:
> i386-redhat fedora5  kernel 2.6.15
> gcc version: 4.1.0

  IIUIC, you just can't build such recent (2.6.x) kernels with such an old (2.
95.x) gcc; modern kernels recommend you move up to gcc 3.3.x, as they make use
of the new features in more recent gcc versions.

    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


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



More information about the crossgcc mailing list