Hi, I am using SUSE Linux 10.0 OSS and I need gcc 3.2. Is there any RPM package available or I have to compile it by hand? Cheers, -- Damian Mihai Liviu Phone: +40741226993 URL: http://liviudm.blogspot.com
Damian Mihai Liviu
I am using SUSE Linux 10.0 OSS and I need gcc 3.2.
Why do you think you need such an old and unmaintained version of gcc?
Is there any RPM package available or I have to compile it by hand?
You'd have to compile it yourself. Note that you should configure the gcc sources with something like --prefix=/opt/gcc3 and *not* the default /usr/local as you'll get into trouble with the gcc4. Philipp -- Philipp Thomas SUSE LINUX Products GmbH
On Saturday 22 October 2005 03:29, Philipp Thomas wrote:
Why do you think you need such an old and unmaintained version of gcc?
To compile qemu 0.7.2 with kqemu kernel module :-) No, it doesn't compile with gcc4 and some people are saying it works great with gcc-3.2
You'd have to compile it yourself. Note that you should configure the gcc sources with something like --prefix=/opt/gcc3 and *not* the default /usr/local as you'll get into trouble with the gcc4.
Thanks for the tip. I will also try to make some RPMS and make a repository. Cheers, -- Damian Mihai Liviu Phone: +40741226993 URL: http://liviudm.blogspot.com
El Domingo, 23 de Octubre de 2005 17:38, Philipp Thomas escribió:
Damian Mihai Liviu
[22 Oct 2005 08:49 +0300]: it doesn't compile with gcc4 Same problem here. I need gcc 3.2 also, but it doesn't compile with gcc4. If you find the proper patches, please tell me.
jorge
Well, fix it or get somebody else to fix it. Using an older compiler only papers over the bugs that are obviously present.
Philipp
--------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-help@opensuse.org
On Sunday 23 October 2005 19:02, Jorge Luis Arzola wrote:
Same problem here. I need gcc 3.2 also, but it doesn't compile with gcc4. If you find the proper patches, please tell me.
I'm not a programmer so I can't do a patch, but tomorrow I'll do some RPMs for gcc-3.2 and I hope it will work. I will announce the availability on this list. Cheers, -- Damian Mihai Liviu Phone: +40741226993 URL: http://liviudm.blogspot.com
Damian Mihai Liviu
I'm not a programmer
Then by all means try to become one or just ignore software that won't compile and see where you can get working binaries. If you don't understand the code, you also don't understand why the compiler rejects it. There are a number of examples where older versions of gcc silently produced wrong code or code that worked only by accident, whereas newer versions will detect the error and stop compilation.
but tomorrow I'll do some RPMs for gcc-3.2
Please don't make them available or only offer a C compiler. C++ code compiled with older versions of gcc is binary incompatible with gcc >= 3.4. Philipp
On Monday 24 October 2005 01:41, Philipp Thomas wrote:
Damian Mihai Liviu
[24 Oct 2005 00:14 +0300]: I'm not a programmer
Then by all means try to become one or just ignore software that won't compile and see where you can get working binaries.
http://lists.gnu.org/archive/html/qemu-devel/2005-05/msg00160.html
If you don't understand the code, you also don't understand why the compiler rejects it. There are a number of examples where older versions of gcc silently produced wrong code or code that worked only by accident, whereas newer versions will detect the error and stop compilation.
This is a lot more complex. qemu does some extremely unorthodox things with object code, and gcc has changed the way it does its stuff. The first thing it broke on was that qemu assumed that the final instruction in a function in ELF code was ret (0xc3), which apparently isn't necessarily true anymore. The gods only know what else, but there seems to be patches floating around for it
Hello, Am Montag, 24. Oktober 2005 02:06 schrieb Anders Johansson:
On Monday 24 October 2005 01:41, Philipp Thomas wrote: [...] This is a lot more complex. qemu does some extremely unorthodox things with object code, and gcc has changed the way it does its stuff. The first thing it broke on was that qemu assumed that the final instruction in a function in ELF code was ret (0xc3), which apparently isn't necessarily true anymore. The gods only know what else, but there seems to be patches floating around for it
There are even qemu RPMs on the SUSE Linux 10.0 DVD (and the FTP servers). Why don't you use just these? ;-) BTW: If it needed patches to compie, you will find them in the source RPM. Regards, Christian Boltz -- Widerstand ist zwecklos (wenn er kleiner als 1 Ohm ist).
On Tuesday 25 October 2005 00:06, Christian Boltz wrote:
There are even qemu RPMs on the SUSE Linux 10.0 DVD (and the FTP servers). Why don't you use just these? ;-)
There is no kqemu kernel module because it's not GPL -- Damian Mihai Liviu Phone: +40741226993 URL: http://liviudm.blogspot.com
On Monday 24 October 2005 22:47, Damian Mihai Liviu wrote:
On Tuesday 25 October 2005 00:06, Christian Boltz wrote:
There are even qemu RPMs on the SUSE Linux 10.0 DVD (and the FTP servers). Why don't you use just these? ;-)
There is no kqemu kernel module because it's not GPL
Is that because GPL and non-GPL are like software matter and anti-matter annihilating when they come into contact with each other, destroying your computer, you, your home or office and probably the entire state you live in (especially if it's Rhode Island)??
On Mon, Oct 24, 2005 at 11:10:29PM -0700, Randall R Schulz wrote:
On Monday 24 October 2005 22:47, Damian Mihai Liviu wrote:
There is no kqemu kernel module because it's not GPL
Is that because GPL and non-GPL are like software matter and anti-matter annihilating when they come into contact with each other, destroying your computer, you, your home or office and probably the entire state you live in (especially if it's Rhode Island)??
In the first place this is because the author does not allow redistribution without his explicit consent. Robert -- Robert Schiele Tel.: +49-621-181-2214 Dipl.-Wirtsch.informatiker mailto:rschiele@uni-mannheim.de
On Monday 24 October 2005 23:06, Christian Boltz wrote:
There are even qemu RPMs on the SUSE Linux 10.0 DVD (and the FTP servers). Why don't you use just these? ;-)
BTW: If it needed patches to compie, you will find them in the source RPM.
You didn't look at it, did you. The qemu source package includes gcc 3.3.5, and it first builds it, then uses it to compile qemu Like I said, there are patches floating around to make qemu work with gcc4, but they're not used in the 10.0 package
Anders Johansson
Like I said, there are patches floating around to make qemu work with gcc4, but they're not used in the 10.0 package
And as far as I heard, the main problem that gcc4 can't cope with yet less registers on i386 still isn't solved. Philipp
participants (8)
-
Anders Johansson
-
Anders Johansson
-
Christian Boltz
-
Damian Mihai Liviu
-
Jorge Luis Arzola
-
Philipp Thomas
-
Randall R Schulz
-
Robert Schiele