RE: [Java-gnome-developer] gcj-compile
Brought to you by:
afcowie
From: Jeffrey M. <Jef...@Br...> - 2003-10-27 18:39:37
|
I applied the patch to cvs. Let's have as many people as possible test this update prior to the release at the end of the week and post your results to this list. I believe having gcj compilation working is very important. Thanks -Jeff > That's a problem I had as well, but wasn't that sure about it > being a > mistake, as I'm on the cutting edge with gcc-3.3. Output is same as > yours: > > darko@giant darko $ gcj --version > gcj (GCC) 3.3.1 20030927 (Gentoo Linux 3.3.1-r5, propolice) > Copyright (C) 2003 Free Software Foundation, Inc. > > Looks like it's standard for gcc >= 3.2 at least. > > Darko Obradovic > > > Am 27.10.2003 14:14 schrieb(en) Luca De Rugeriis: > > Hi, > > I've found that the configure script doesn't recognize correctly my > > installed gcj 3.2.2. The sed command that should extract the gcj > > version > > number, expects an output of this kind: 'gcj version "3.2.2"'. > > Instead > > my gcj (on Redhat 9) prints: > > > > gcj (GCC) 3.2.2 20030222 (Red Hat Linux 3.2.2-5) > > Copyright (C) 2002 Free Software Foundation, Inc. > > This is free software; see the source for copying conditions. There > > is > > NO > > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR > > PURPOSE. > > > > So the solution is to modify that sed command. Obviously it expects > > the > > first line of 'gcj --version' output to read: > > 'gcj (GCC) majorversion.minorversion.microversion anything_else' > > I dunno really what kind of output other versions of gcj might have, > > but this is surely needed for gcj shipped with Redhat 9. > > Hope this will be of use. > > Luca. > |