This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: best make to rebuild libgcj?


Andrew Haley wrote:
Heitzso writes:
> I need to debug/trace through some classpath code.
> > Whether I add debugging to that lib (and my code) and use an
> official debugger, or just slip in some "System.out.println()"s
> for some old fashioned debugging, I need to rebuild the
> gcj classpath library.
> > Where in my 4.1 snapshot obj tree should I invoke what "make"
> command to efficiently rebuild libgcj.so w/o starting from
> scratch w/ "make bootstrap" and waiting a couple hours?


Go into the libjava dir:

$ cd ~/gcc/trunk/build-x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/libjava/

$ make

$ make install

For a faster rebuild you can skip the "make" step and instead do "make install-exec". This avoids re-installing the CNI headers, which takes a bit of time, and avoids running make twice.


Bryce


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]