From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1628 invoked by alias); 21 Apr 2014 04:49:25 -0000 Mailing-List: contact java-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-owner@gcc.gnu.org Received: (qmail 1618 invoked by uid 89); 21 Apr 2014 04:49:25 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-ob0-f182.google.com Received: from mail-ob0-f182.google.com (HELO mail-ob0-f182.google.com) (209.85.214.182) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Mon, 21 Apr 2014 04:49:24 +0000 Received: by mail-ob0-f182.google.com with SMTP id uy5so2603126obc.27 for ; Sun, 20 Apr 2014 21:49:22 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.182.49.164 with SMTP id v4mr6943154obn.3.1398055762435; Sun, 20 Apr 2014 21:49:22 -0700 (PDT) Received: by 10.60.13.233 with HTTP; Sun, 20 Apr 2014 21:49:22 -0700 (PDT) Date: Mon, 21 Apr 2014 04:49:00 -0000 Message-ID: Subject: gcj-4.9 run Helloworld failed on mips64el From: Yunqiang Su To: Debian Java , java@gcc.gnu.org Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2014-04/txt/msg00002.txt.bz2 Hi, I am trying run gcj-4.9 on mips64el while it cannot run Helloworld even. buildd@clash:/tmp$ javac -version gcj-4.9 (Debian 4.9-20140411-1) 4.9.0 20140411 (prerelease) [gcc-4_9-branch revision 209311] Copyright (C) 2014 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. buildd@clash:/tmp$ javac Helloworld.java /tmp/Helloworld.java:3: error: The method println(String) is undefined for the type PrintStream System.out.println("HELLO WORLD!"); ^^^^^^^ 1 problem (1 error) buildd@clash:/tmp$ cat Helloworld.java public class Helloworld{ public static void main(String[] args){ System.out.println("HELLO WORLD!"); } } buildd@clash:/tmp$ /usr/lib/jvm/java-1.5.0-gcj-4.8-mips64el/bin/javac Helloworld.java buildd@clash:/tmp$ java Helloworld HELLO WORLD! Any idea about it? -- Yunqiang Su