On Fri, Apr 13, 2012 at 9:40 AM, H. Peter Anvin wrote:
> On 04/13/2012 09:18 AM, H.J. Lu wrote:
>> Hi,
>>
>> We need a reliable way to tell if we are compiling for x32 through
>> pre-defined preprocessor symbol. __LP64/__LP64__ aren't
>> specified by x86-64 psABI, although they have been added to
On 04/13/2012 09:18 AM, H.J. Lu wrote:
> Hi,
>
> We need a reliable way to tell if we are compiling for x32 through
> pre-defined preprocessor symbol. __LP64/__LP64__ aren't
> specified by x86-64 psABI, although they have been added to
> GCC 3.3. They can't be counted on to detect x32 since not
Hi,
We need a reliable way to tell if we are compiling for x32 through
pre-defined preprocessor symbol. __LP64/__LP64__ aren't
specified by x86-64 psABI, although they have been added to
GCC 3.3. They can't be counted on to detect x32 since not x86-64
compilers define them. I updated x32 psABI