From owner-freebsd-java Tue Oct 9 19:14:10 2001 Delivered-To: freebsd-java@freebsd.org Received: from penfold.transactionware.com (penfold.transactionware.com [203.14.245.1]) by hub.freebsd.org (Postfix) with SMTP id 006B637B407 for ; Tue, 9 Oct 2001 19:14:06 -0700 (PDT) Received: (qmail 73275 invoked from network); 10 Oct 2001 02:13:50 -0000 Received: from ck.transactionware.com (192.168.1.17) by penfold.transactionware.com with SMTP; 10 Oct 2001 02:13:50 -0000 Received: (qmail 83831 invoked by uid 1006); 10 Oct 2001 02:19:48 -0000 Received: from janm@transactionware.com by ck.transactionware.com with qmail-scanner-0.96 (sweep: 2.4/3.46. . Clean. Processed in 0.553955 secs); 10 Oct 2001 02:19:48 -0000 Received: from unknown (HELO janm) (192.168.1.32) by ck.transactionware.com with SMTP; 10 Oct 2001 02:19:48 -0000 Message-ID: <002501c15131$1f55f960$2001a8c0@janm> From: "Jan Mikkelsen" To: Subject: More on gcj Date: Wed, 10 Oct 2001 12:13:16 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I have made "hello, world" work with static linking. I haven't tackled dynamic linking at all yet. The issue was that libgcj.a contains a List.o from both java/awt and java/util. The java/awt version was being added last, bumping out java/util/List.o. I made it work by changing the ar arguments from "rc" to "rcP", and rebuilding libgcj.a. I don't know the magic incantations to libtool to fix this properly yet, but I'm looking into it! :-) Jan Mikkelsen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message