Follow-up on gcc-2.95

From: Larry Griffith <larry_at_cs.wsc.ma.edu>
Date: Mon, 16 Aug 1999 13:19:24 -0400

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
Received on Mon Aug 16 1999 - 17:21:52 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:39 NZDT