problem in compiling libgcj 2.95.1

arajesh arajesh@india.adventnet.com
Thu May 25 23:51:00 GMT 2000


Hi Bryce,
Bryce McKinlay wrote:
> The build is picking up an older compiler from your path. Make sure that
> gcc-2.95.1 is found compiler on your path. You can verify this by typing
> "gcc -v".
>
I verified this and i am getting the following when i type 'gcc -v'
Reading specs from
/home/guest/gcj/GCCBIN/lib/gcc-lib/i686-pc-linux-gnu/2.95.1/specs
gcc version 2.95.1 19990816 (release)
Here '/home/guest/gcj/GCCBIN/ ' is the target directory where i installed
gcc. I added '/home/guest/gcj/GCCBIN/bin' to the PATH env variable so that
the new gcc is used during compilation of libgcj.
So what is going wrong?
> regards
>> [ bryce ]
>
regards
Rajesh
>> arajesh wrote:
>> > cc1plus: Invalid option `-fpermissive'
> > In file included from ../../../libgcj-2.95.1/libjava/prims.cc:25:
> > java/lang/Runtime.h:42: warning: `class ::java::lang::Runtime' only
> > defines private constructors and has no friends
> > In file included from ../../../libgcj-2.95.1/libjava/prims.cc:38:
> > java/lang/System.h:48: warning: `class ::java::lang::System' only
> > defines private constructors and has no friends
> > make[2]: *** [prims.lo] Error 1
> > make[2]: Leaving directory
> > `/home/guest/gcj/GCJ/i686-pc-linux-gnu/libjava'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory
> > `/home/guest/gcj/GCJ/i686-pc-linux-gnu/libjava'
> > make: *** [all-target-libjava] Error 2
> >
> > Am i doing something wrong? Since even the versions of gcc and libgcj
> > match why am i getting this error?



More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /