[Bug libfortran/16137] Fortran compiler unable to produce executables as libfortran depends on C99 math functions
ro at techfak dot uni-bielefeld dot de
gcc-bugzilla@gcc.gnu.org
Thu Jun 24 17:48:00 GMT 2004
------- Additional Comments From ro at techfak dot uni-bielefeld dot de 2004-06-24 17:35 -------
Subject: Re: Fortran compiler unable to produce executables as libfortran depends on C99 math functions
"sgk at troutmask dot apl dot washington dot edu" <gcc-bugzilla@gcc.gnu.org> writes:
> gfortran works on FreeBSD, which does not use glibc. In fact, if
... and it probably would on other platforms which include a full ISO C99
libc. Unfortunately, of the platforms I regularly work on (Solaris 2,
Tru64 UNIX, IRIX), only Solaris 10 and IRIX 6.5.18+ have an ISO C99 libc,
and even that one isn't fully usable with GCC due to the use of
vendor-compiler specific builtins in the system headers. I wasn't fully
aware about the situation with the various BSDs; thanks for setting me
straight.
> On the other hand, you have a point that gfortran should not
> unconditionally assume a C99 compiler. Indeed, Bud Davis
> recently committed c99-functions.c to provide a compatibility
> shim. If you have any patches, please send then to fortran@
Not at the moment: time for gcc work is far too limited right now, and I
stopped including gfortran when it either wouldn't even build on my
platforms for various reasons (mostly mentioned in PRs) or all test cases
failed with link failures.
Rainer
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16137
More information about the Gcc-bugs
mailing list