This is the mail archive of the java-discuss@sourceware.cygnus.com mailing list for the GCJ project. See the GCJ home page for more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: make errors on solaris for libgcj


>>>>> "Vincent" == Vincent Joseph <vincent.joseph@usa.net> writes:

Vincent> c++ compiler : egcs-2.93.17

I'm not up on the egcs version numbering scheme.  Is this the same
version as the java front end?  You have to make sure to use a C++
compiler that understands our Java-specific extensions.

Vincent> My first error occured in the sparc-*** sub directory. I had
Vincent> to copy config.sub and install-sh to the sparc sub directory,
Vincent> and this fixed that problem.

You probably built in the source tree.  You can't do that right now.
(BTW libgcj.html explicitly notes this.)

Vincent> The compile moved along further, but stopped again with the
Vincent> following message.(BTW, libgcjgc.a was created, as was zip)

Vincent> java/lang/Object.h:8: parse error before `::'

I haven't seen this before.  The line number is wrong, which is
interesting.  That might be a different compiler bug.

Tom