This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Patch for mingw stdint information
- From: Kai Tietz <ktietz70 at googlemail dot com>
- To: Danny Smith <dannysmith at clear dot net dot nz>
- Cc: FX <fxcoudert at gmail dot com>, dannysmith at users dot sourceforge dot net, kai dot tietz at onevision dot com, nightstrike at gmail dot com, gcc at gcc dot gnu dot org
- Date: Sat, 4 Apr 2009 10:38:23 +0200
- Subject: Re: Patch for mingw stdint information
- References: <DF30429C-C054-419A-818F-109357A27351@gmail.com> <83E09C49ECF74B778FC14FED6E6CF784@THOMAS>
2009/4/4 Danny Smith <dannysmith@clear.net.nz>:
>> Hi all,
>>
>> Please find attached a patch I built to add stdint-related
>> information
>> to GCC configuration for the mingw target (see
>> http://gcc.gnu.org/ml/gcc/2009-04/msg00000.html
>> ? for more details about why).
>
> Thanks for this. ?I am just in the process of doning a testsuite run on exactly the the
> same patch as yours
> (main diff is that I put everything in "mingw-stdint.h" for sanity reason. ?I will need
> Kai's help on 32/64 bit #ifdefs
>
>> I hope this can help,
> It does of course.
>
> Danny
>
>
Thanks for the patch. Are those defines really just for default target
necessary? Shouldn't be the defines target dependent?
Something like '#define UINTPTR_TYPE (TARGET_64BIT ? "long long int" : "int")' ?
Cheers,
Kai
--
| (\_/) This is Bunny. Copy and paste
| (='.'=) Bunny into your signature to help
| (")_(") him gain world domination