This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 64 bit long double on i386 arch.


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
> 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]