This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: cannot build gcc 3.2.3 in Suse 10.3 (gcc 4.2.1)
- From: Andrew Haley <aph at redhat dot com>
- To: "Matteo Rama" <matteo dot rama at gmail dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Sat, 5 Jan 2008 13:36:31 +0000
- Subject: Re: cannot build gcc 3.2.3 in Suse 10.3 (gcc 4.2.1)
- References: <8a5d77640801050312n458a95e8ne112521e0e1beb53@mail.gmail.com>
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:
> http://docs.google.com/Doc?id=dgwhbj6q_56mg3db2fd
> >make
> here the compilation fails. The output I get is here:
> http://docs.google.com/Doc?id=dgwhbj6q_57f39sdqcp
>
> 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));
Andrew.
--
Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, UK
Registered in England and Wales No. 3798903