That's a problem I had as well, but wasn't that sure about it being a =20
mistake, as I'm on the cutting edge with gcc-3.3. Output is same as =20
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 >=3D 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"'. =20
> Instead
> my gcj (on Redhat 9) prints:
>=20
> 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.
>=20
> 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.
|