tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* [SUMMARY]Follow-up on gcc-2.95
@ 1999-08-17 21:07 Larry Griffith
  0 siblings, 0 replies; only message in thread
From: Larry Griffith @ 1999-08-17 21:07 UTC (permalink / raw)
  To: tru64-unix-managers

Dear Managers,

	Apparently the Java support in gcc-2.95 is either broken or
not very good, at least for T64U.  I received two quite different
replies (each followed up with additional information, THANKS!):

Thomas Leitner <tom@radar.tu-graz.ac.at>
AlBert DeKnuydt <Bert.Deknuydt@esat.kuleuven.ac.be>

        Tom considers didn't consider GNU java mature enough for
development and suggested "jikes":

	    http://www.research.ibm.com/jikes/

(and of course www.digital.com/java has the Compaq versions of the
JDK, which I already have).

        Bert suggested the following change to the command line I put
in my original post:

            gcj -o pp1 pp1.java --main=pp1

(and also indicated that he couldn't compile libgcj-2.95 for T64U;
this command came off a Linux box).  That command gave me a lot of
errors that sure look like assembler errors.  Use of the -v option
confirms this.  The assembler is shown to be the native "as" (I don't
even have gas, the GNU assembler, installed.).

        I've decided to delete gcj and libgcj entirely.  I may try
looking at jikes if I get a chance.

Original post
-------- ----

Dear Managers,

     I'm trying to get the multi-language support in gcc-2.95 working
on our v4.0Dp4 systems.  The documentation for languages other than C
and C++ seems to be virtually non-existent.  An ls /usr/local/bin/g*
command and some intuition told me that g77 is the Fortran command and
gcj is the Java command (CHILL and Objective-C are irrelevant to me).
g77 seems to work OK, at least on my tiny test program.  I can't get
gcj to work.  Another guess turned up the separate libgcj-2.95.tar.gz
program on the Cygnus site, but even after installing the library I
get this:


$ gcj pp1.java
/usr/bin/ld:
Unresolved:
main
collect2: ld returned 1 exit status

Here's pp1.java:

class pp1 {
  public static void main(String argv[]) {
    System.out.println("Hello, world");
  }
}

     I apologize for the repeated GNU questions, but our news feed is
history, installation of compilers is a system management issue, and I
have no clue whether this is a T64U problem or not.

     Any suggestions?

						Larry

============================================================================
Larry Griffith                       Dept. of Computer & Info Science
larry@cs.wsc.ma.edu	             Westfield State College
(413) 572-5294                       Westfield, MA 01086 USA
PGP public key available at: http://cs.wsc.ma.edu/dcis/griffith.html
============================================================================
     

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-08-17 21:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-08-17 21:07 [SUMMARY]Follow-up on gcc-2.95 Larry Griffith

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox