This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Define _LP64 on x86-64?
- From: Richard Henderson <rth at redhat dot com>
- To: Andreas Jaeger <aj at suse dot de>
- Cc: Gwenole Beauchesne <gbeauchesne at mandrakesoft dot com>, gcc-patches at gcc dot gnu dot org
- Date: Tue, 11 Mar 2003 12:30:41 -0800
- Subject: Re: [PATCH] Define _LP64 on x86-64?
- References: <howuopgjs5.fsf@gee.suse.de> <Pine.LNX.4.44.0210141016420.32337-100000@thalys.mandrakesoft.com> <20021014173813.GB1111@redhat.com> <u84r6c69bx.fsf@gromit.moeb>
On Sun, Mar 09, 2003 at 12:57:54PM +0100, Andreas Jaeger wrote:
> The qustion is what should get defined?
> * only __LP64__ (as done by pa64-linux.h)
> * only _LP64 (which is defined by the ia64 ABI as needed)
> * both of them?
Both is easy.
> Or should we define this independed of the OS? In that case I'll add
> this to TARGET_CPU_CPP_BUILTINS instead.
We should probably make up our mind and define this generically.
I.e. check for the LP64 condition in generic code and define it
there.
r~