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


Reply via email to