This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: round[f](), gfortran, and NetBSD
- From: Chris Wareham <chris dot wareham at iosystems dot co dot uk>
- To: Chris Wareham <chris dot wareham at iosystems dot co dot uk>
- Cc: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>, GCC Fortran mailing list <fortran at gcc dot gnu dot org>
- Date: Mon, 22 Dec 2003 13:05:12 +0000
- Subject: Re: round[f](), gfortran, and NetBSD
- References: <20031219023355.GA5650@troutmask.apl.washington.edu> <3FE2C101.7040804@iosystems.co.uk>
Chris Wareham wrote:
Steve Kargl wrote:
Chris,
For some reason, I did not receive a copy of your email
to fortran@gcc concerning round[f](). The short story is
all *BSD and OpenDarwin and probably Mac OS X are missing
many of the new C99 intrinsic functions. I implemented some straight
forward version of round[f]() and I have
done some limited testing. You can grab the code from
www.freebsd.org by searching the bug database for
standards/59797 (or my last name, kargl). You can submit
the code to NetBSD if you so desire.
Many thanks for the pointer to your implementation of round and roundf.
I'll work out how to integrate it with NetBSD, and submit it for
inclusion in NetBSD -current. Hopefully I'll have time to do it this
weekend.
I installed a new math library on my machine, having added the round
functions, and did a clean build of tree-ssa. Starting from a totally
clean objdir sorted out the bison issue I encountered before, and the
build ran to completion with no manual prodding.
I now have a gcc/gfortran combo that happily compiles and links my
simple Fortran 90 code. Looking forward to the official gcc 3.5 release,
and its eventual inclusion in NetBSD! Meantime I'll see if I can get
Steve's round functions into NetBSD -current.
Chris
--
chris.wareham@iosystems.co.uk (work)
chris.wareham@btopenworld.com (home)