From owner-freebsd-questions@FreeBSD.ORG Sun Nov 19 00:58:05 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4D96316A403 for ; Sun, 19 Nov 2006 00:58:05 +0000 (UTC) (envelope-from fairwinds@eastlink.ca) Received: from smtpout.eastlink.ca (smtpout.eastlink.ca [24.222.0.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id ACD1E43D45 for ; Sun, 19 Nov 2006 00:57:58 +0000 (GMT) (envelope-from fairwinds@eastlink.ca) Received: from ip03.eastlink.ca ([24.222.10.15]) by mta01.eastlink.ca (Sun Java System Messaging Server 6.2-4.03 (built Sep 22 2005)) with ESMTP id <0J8Y00J5JDCAL2M0@mta01.eastlink.ca> for freebsd-questions@freebsd.org; Sat, 18 Nov 2006 20:57:46 -0400 (AST) Received: from blk-224-181-0.eastlink.ca (HELO [192.168.1.250]) ([24.224.181.0]) by ip03.eastlink.ca with ESMTP; Sat, 18 Nov 2006 20:58:04 -0400 Date: Sat, 18 Nov 2006 20:58:01 -0400 From: David Pratt In-reply-to: <20061119003655.GA64411@xor.obsecurity.org> To: Kris Kennaway Message-id: <455FAC19.8010009@eastlink.ca> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAPg5X0UY4LUAdGdsb2JhbAANjDsB X-IronPort-AV: i="4.09,437,1157338800"; d="scan'208"; a="357012992:sNHT29069922" References: <455F94F4.7010309@eastlink.ca> <20061119003655.GA64411@xor.obsecurity.org> User-Agent: Thunderbird 1.5.0.8 (Macintosh/20061025) Cc: freebsd-questions@freebsd.org Subject: Re: Modifying gcc34 makefile to compile with java X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Nov 2006 00:58:05 -0000 Hi Kris. I realize the java support prior to 4 requires a ton of RAM to compile but I also know the compiler is reasonably good afterwards (from other platforms) but have not been successful with FreeBSD at this point. I attempted a few tries at 4.1 an 4.2 today and getting this sort of an error using gcj: /usr/local/lib/gcc-4.2.0/libgcj.so.8: Undefined symbol "_Unwind_GetIPInfo" so am looking to try something earlier that is known to work on Linux. Regards, David Kris Kennaway wrote: > On Sat, Nov 18, 2006 at 07:19:16PM -0400, David Pratt wrote: >> Hi. I have recently tried to compile gcc34 port with java by modifying >> Makefile by adding the argument >> >> --enable-languages=c,c++,java >> >> This failed giving me a list of languages that excluded java. This >> version of gcc is capable of compiling with java. Can someone provide >> some advice on getting this port to compile with java properly. Anyone >> done this? Many thanks. > > AFAIK you really don't want to use gcc 3.4's java support, it was not > usable before the 4.x branch. Accordingly, the gcc 4.x ports allow > java to be specified. > > Kris