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.
- From: Markus Duft <markus dot duft at salomon dot at>
- To: plantz at ieee dot org
- Cc: Bob Plantz <plantz at cds1 dot net>, gcc-help at gcc dot gnu dot org
- Date: Mon, 12 Sep 2011 07:34:04 +0200
- Subject: Re: 64 bit long double on i386 arch.
- References: <4E69C354.5090406@salomon.at> <4E6A3C61.1030402@cds1.net>
On 09/09/11 18:18, Bob Plantz wrote:
> On 9/9/2011 12:42 AM, Markus Duft wrote:
>> Hey!
>>
>> I have an existing port of gcc 4.2.4 to interix (having troubles to bring the port to a more current version). Now i just stumbled over the target libc's long double being 64bit only. My question now is: is there some easy way of forcing gcc to use 64 for long double, just like for double? it may well be a hack as the patch is quite specific for now anyway.
>>
>> 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!
>>
>> regards, markus
> Is there an error in your post? You're saying that a long double is "64bit only," and you wish to force "gcc to use 64 for long double."
No. What i meant was that the system libc seems to think that long double is 64bit (as it was compiled with a different compiler), and gcc uses sth different (80/96 bit). i want to force gcc to use 64 bit to be compatible with my libc.
Regards, Markus
>
> --Bob
>