This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Patch for stdint support on darwin
- From: FX <fxcoudert at gmail dot com>
- To: gcc at gcc dot gnu dot org, "Joseph S. Myers" <joseph at codesourcery dot com>, gcc-patches at gcc dot gnu dot org
- Cc: dalej at apple dot com, mrs at apple dot com, echristo at apple dot com, stanshebs at earthlink dot net
- Date: Sat, 4 Apr 2009 01:21:31 +0530
- Subject: Patch for stdint support on darwin
This is a patch that should add stdint support on darwin. It should
work on both i386 and ppc, for Mac OS >= 10.3 (don't think we support
10.2 or earlier, anyway). Because I only have a laptop at hand and
poor connectivity for the next 10 days, the following needs doing:
-- bootstrap and regtest on ppc-darwin (Dominique, could you help?)
-- regtest on i386-darwin
-- review and approval (Dale, Mike, Eric or Stan)
What I've done so far is:
-- bootstrap on i386-apple-darwin9.6.0
-- checked gcc.dg/c99-stdint-*.c on same with both -m32 and -m64
After the patch, the only remaining stdint-related failure is gcc.dg/
c99-stdint-1.c, which is due to issues in the system headers (see
comments #15 and #16 in PR448). I don't know fixincludes and can't
help there. I still think the current patch is better than nothing for
now, while waiting for fixincludes.
Thanks to anyone who can help,
FX
Attachment:
darwin-stdint.diff
Description: Binary data