This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: 64 bit long double on i386 arch.
On 09/09/11 22:52, Ian Lance Taylor wrote:
> Markus Duft <markus.duft@salomon.at> writes:
>
>> i tried to #define LONG_DOUBLE_TYPE_SIZE 64, but after some inspection of the code, i realized that this wont work. is there some magic location where i could just tell gcc to handle long double like double? any help would be much appreciated!
>
> I would expect that to work. What fails?
Hm. i checked only xgcc somewhere half way down the bootstrap, and my test program (sizeof(long double)) still yielded 12, so i assumed it doesn't work. i checked a little closer, and it seems that (hah!) the final gcc does have 8 byte long doubles...
Thanks! Sorry for the noise ;)
regards, markus
>
> Ian