Thanks Gaby...

To recap, my current quest is to resolve references to symbols like __floatdidf. This is in a library for ppc64/soft-float.

Ian pointed me to ppc64-fp.c. When I try to compile it, TFtype is undefined. It is suppose to get defined in fp-bit.h but only if __LDBL_MANT_DIG__ is set to 113 or 106. Right now, in the environment that I have now, ___LDBL_MANT_DIG__ is set to 53. In the RS/6000, long doubles are 106. (I'm not sure if "long double" is the right term to use here.)

I am compiling with -maix64. It appears to me that some parts of gcc or libgcc assume that this implies long double but c-cppbuiltin.c appears to not make that assumption.

I'm not sure where or how to address this issue.

On Jan 12, 2006, at 10:05 AM, Gabriel Dos Reis wrote:

Perry Smith <[EMAIL PROTECTED]> writes:

| Sorry for such a lame question:
|
| Where does __LDBL_MANT_DIG__ get defined?  (gcc 4.0.2)

a built-in macro.  See gcc/c-cppbuiltin.c

-- Gaby


Reply via email to