Compile Error libgcj

Bryce McKinlay bryce@albatross.co.nz
Mon Dec 4 00:11:00 GMT 2000


Tom Tromey wrote:
> Thanks. This must be related to the recent mprec.h change.

Yeah. I'm going to check in Edgar's fix. I must have missed this because
my natDouble.cc was already compiled and I havn't done a full rebuild
since.
> Maybe we should bite the bullet and rename the fdlibm functions we
> use. Perhaps we could do this via a bunch of #defines in a new
> header, so that we only make minimal changes to the fdlibm files.
>> Comments?

Well, we might need to do that if we need to include math.h to implement
non-strict FP. But do we need math.h at all? Can't we just have the
compiler map the Math.* calls directly to the appropriate __builtin
function? And things like Math.min(int, int) can be inlined to become a
MIN_EXPR node in the compiler. We won't need a Math.java at all, except
maybe to support reflection technicalities.
regards
 [ bryce ]


More information about the Java mailing list

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