This is the mail archive of the
java-discuss@sources.redhat.com
mailing list for the Java project.
Re: Compile Error libgcj
- To: tromey at redhat dot com
- Subject: Re: Compile Error libgcj
- From: Bryce McKinlay <bryce at albatross dot co dot nz>
- Date: Mon, 04 Dec 2000 21:12:23 +1300
- CC: edgar at villanueva dot com, "java-discuss at sources dot redhat dot com" <java-discuss at sources dot redhat dot com>
- References: <3A2B1C3F.3DFFDEB1@home.com> <8766l07kks.fsf@creche.redhat.com>
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 ]