compiling gcj

Bryce McKinlay bryce@waitaki.otago.ac.nz
Thu Oct 4 14:30:00 GMT 2001


On Friday, October 5, 2001, at 04:15 AM, Dachuan Yu wrote:
> When I build gcj for the first time, I follow the
> instructions roughly as follows:
> $ ../gcc/configure ...
> $ make bootstrap
> $ make
> $ make install
>> If I make a little change and want to recompile it,
> do I have to follow all the steps above? Sometimes
> bootstrap complains that some object files (of the
> files that I changed) are different. What does that
> mean?

As Andrew pointed out, you just need to type "make" (or "make install") 
to do a build with your changes. Also, you can skip the "make bootstrap" 
when doing a complete build. This is only really necessary when building 
with a questionable CC or testing the compiler for mis-compilation bugs.
One handy feature when working on the compiler is that if you " cd gcc" 
in your build directory before typing "make", it will automatically 
rebuild the files you are working on without optimization, making them 
easier to debug.
regards
Bryce.


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /