Modifying gcc34 makefile to compile with java

David Pratt fairwinds at
Sat Nov 18 16:58:05 PST 2006

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/ Undefined symbol "_Unwind_GetIPInfo"

so am looking to try something earlier that is known to work on Linux.


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

More information about the freebsd-questions mailing list