cannot build gcc 3.2.3 in Suse 10.3 (gcc 4.2.1)

Andrew Haley
Sat Jan 5 23:13:00 GMT 2008

Matteo Rama writes:
 > hello,
 > I've installed Suse 10.3, which has gcc version 4.2.1 .
 > I need also an older version of gcc, for example 3.2.3 but I haven't managed
 > to install it.
 > I downloaded gcc-3.2.3.tar.gz (the md5sum check was ok) then:
 > >tar -zxf gcc-3.2.3.tar.gz
 > (the dir. gcc-3.2.3 is created)
 > >mkdir obj
 > >cd obj
 > > ../gcc-3.2.3/configure --prefix=/usr/local/gcc/3.2.3
 > Here is the output:
 > >make
 > here the compilation fails. The output I get is here:
 > Any help in understanding how to fix the problem would be very much appreciated.

I think it's complaining about an lvalue cast.

It might be as simple as changing that line to

	      obstack_ptr_grow (&vector_stack, read_rtx (infile));


Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, UK
Registered in England and Wales No. 3798903

More information about the Gcc-help mailing list