This is the mail archive of the java-discuss@sources.redhat.com 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]

Re: Compile Error libgcj


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 ]



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