best make to rebuild libgcj?

Bryce McKinlay mckinlay@redhat.com
Thu Feb 23 18:57:00 GMT 2006


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



More information about the Java mailing list