tgmath.h
Andreas Jaeger
aj@suse.de
Thu Jul 12 07:21:00 GMT 2007
gkeating@apple.com (Geoffrey Keating) writes:
> This patch provides a tgmath.h which works with GCC.
>
> I've arranged the patch so that it provides this on all systems. I
> think this is best, because:
> - on Linux, the tgmath.h in glibc is equivalent but larger;
> - on Darwin, the compiler is expected to provide a tgmath.h, because
> the file is entirely compiler-specific, so using tgmath.h won't work
> on Darwin with FSF GCC unless one is provided; and
> - on other OSs I expect that either there's no system tgmath.h or it's
> not suitable for GCC
> - on OSs which don't provide the full set of C99 math functions,
> everything will can work will still work.
>
> I'm running a bootstrap and a C testrun now; in Apple's tree this has
> also been validated using Plum-Hall.
>
> What do people think? Should I try to suppress this on Linux? I'll
> wait a few days before committing for comments.
glibc has it's own tgmath.h header and I think you should not install it
on glibc systems,
Andreas
--
Andreas Jaeger, Director Platform / openSUSE, aj@suse.de
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
Maxfeldstr. 5, 90409 Nürnberg, Germany
GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20070712/fd2d3f9d/attachment.sig>
More information about the Gcc-patches
mailing list