Small example of livelock regression in garbage collector forGCJ 3.3 under W

Andrew Haley aph@redhat.com
Thu May 22 12:17:00 GMT 2003


Ranjit Mathew writes:
 > > > BTW, these flags get added to "libgcj.spec" - now when I
 > > > build the GCJ cross compiler, I --disable-libgcj (to save
 > > > 1 hour from the build time!) so no such file is created - does
 > > > that mean that the crossed-native GCJ/libgcj that is built
 > > > using this cross compiler will *not* be compiled using
 > > > these flags?
 > > >
 > > > If yes, I need to look at some other way to propagate
 > > > these flags to the GCJ cross-compiler without having to
 > > > build the whole of libgcj.
 > >
 > >But you have to rebuild libgcj anyway.
 > 
 > I meant not having to build libgcj while building the cross compiler - for
 > the crossed native compiler, I realise that I need to rebuild libgcj.
I'm not sure I understand what the cross compiler is for. If it's
only to build a native compiler surely you don't need C++ or Java,
just a C compiler. You might as well disable all other languages.
 > (The cross-compiler's libgcj doesn't get used while building the
 > crossed-native compiler and therefore is a wasted effort that can save
 > build times. Thanks to Mohan for pointing this out.)
 > 
 > To put it in a slightly different way, does modifying
 > "libgcj/configure.host" like this affect the libgcj that is being
 > built or *merely* cause these to be added to libgcj.spec for
 > "future" programs compiled with this GCJ?
It does both, I think.
 > If I need to affect the crossed-native compiler's libgcj, is there any way I
 > can do this *without* having to build the cross compiler's libgcj as well?
Well, I don't know what the crossed-native compiler is for, so I can't
say.
Andrew.


More information about the Java mailing list

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