Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Nov 2006 20:58:01 -0400
From:      David Pratt <fairwinds@eastlink.ca>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Modifying gcc34 makefile to compile with java
Message-ID:  <455FAC19.8010009@eastlink.ca>
In-Reply-To: <20061119003655.GA64411@xor.obsecurity.org>
References:  <455F94F4.7010309@eastlink.ca> <20061119003655.GA64411@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?455FAC19.8010009>