Hello,
2010/7/16 Dongsheng Song <[email protected]>:
> Hi,
>
> When I compile the following simple C program:
>
> int main()
> {
> _Decimal32 d1;
> _Decimal64 d2;
> _Decimal128 d3;
>
> return 0;
> }
>
> gcc 4.4 linux target is OK, but mingw32 or mingw64 target failed:
>
> C:\var\tmp\mingw32\bin>gcc testDecimal.c
> testDecimal.c: In function 'main':
> testDecimal.c:3: error: decimal floating point not supported for this target
> testDecimal.c:4: error: decimal floating point not supported for this target
> testDecimal.c:5: error: decimal floating point not supported for this target
>
> C:\var\tmp\mingw64\bin>x86_64-w64-mingw32-gcc testDecimal.c
> testDecimal.c: In function 'main':
> testDecimal.c:3: error: decimal floating point not supported for this target
> testDecimal.c:4: error: decimal floating point not supported for this target
> testDecimal.c:5: error: decimal floating point not supported for this target
>
> But I can found libdecnumber is compiled when build gcc !
>
> gcc/libdecnumber/decimal128.o
> gcc/libdecnumber/decimal32.o
> gcc/libdecnumber/decimal64.o
>
> sezero's gcc build give same errors too.
>
> Thanks for some help,
> Dongsheng Song
>
--
The feature of decimal-floating-point isn't enabled in gcc for
cygwin/mingw targets. Question for those targets are, which
decimal-floating-point variant should be used, is there any support by
runtime, which ISO-Spec it the Decimal128 type in #c following? etc.
As long as those points aren't clarified I don't want to enable this
feature for win32.
Regards,
Kai
| (\_/) This is Bunny. Copy and paste
| (='.'=) Bunny into your signature to help
| (")_(") him gain world domination
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public