This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: GCJ runs (a bit) (was: GCJ status 20020305)
- From: Bryce McKinlay <bryce at waitaki dot otago dot ac dot nz>
- To: Göran Thyni <goran at kirra dot net>
- Cc: devl at freenetproject dot org, java at gcc dot gnu dot org
- Date: Fri, 08 Mar 2002 15:00:08 +1300
- Subject: Re: GCJ runs (a bit) (was: GCJ status 20020305)
- References: <20020305212602.GB4725@kirra.net> <20020306130154.GA26993@kirra.net> <20020307155258.GB28801@kirra.net>
Göran Thyni wrote:
>I will be away from my home computer until next week
>but anyone interested should get into this game since
>the current CVS of freenet now compiles and runs (a bit)
>with gcj.
>
This is good news. Did you have to make any changes to freenet's code to
compile it with GCJ? I quickly (and without hacking any code) tried to
build it recently but got stuck because it needed junit, which itself
required some javax.swing classes that we don't have (but will soon,
hopefully).
>Get GCC thrunk from CVS and compile/install it,
>f.ex in /usr/local/gcc
>
At this point I would reccomend using the GCC 3.1 branch rather than the
trunk/mainline. The mainline is a bit unstable right now due to branch
landings (right now libjava is not even building on i686 linux).
>Add /usr/local/gcc/bin to first to PATH
>bash# export PATH=/usr/local/gcc/bin:$PATH
>and
>set LD_RUN_PATH to /usr/local/gcc/lib
>bash# export LD_RUN_PATH=/usr/local/gcc/lib
>before compiling
>
LD_LIBRARY_PATH?
regards
Bryce.