[cfe-dev] Clang, #include <math.h>
James.Molloy at arm.com
Tue Oct 11 00:34:15 PDT 2011
<math.h> is part of the C standard library, not part of the compiler headers. Clang does not provide it.
You could look into one of the "standard" standard libraries, such as RedHat Newlib or Glibc, compile that yourself for your target and point Clang at its /include directory.
From: cfe-dev-bounces at cs.uiuc.edu [mailto:cfe-dev-bounces at cs.uiuc.edu] On Behalf Of Jonas Paulsson
Sent: 11 October 2011 08:24
To: cfe-dev at cs.uiuc.edu
Subject: [cfe-dev] Clang, #include <math.h>
I'm working on a new llc target and would like to generate .ll code with Clang.
I find that I can't #include <math.h>, if I specify my target, or eg mips, arm, bfin...
What must be done in order to do this?
-- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev