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: Andreas Jaeger <aj at suse dot de>
- To: Jason R Thorpe <thorpej at wasabisystems dot com>
- Cc: Richard Henderson <rth at redhat dot com>,Gwenole Beauchesne <gbeauchesne at mandrakesoft dot com>,gcc-patches at gcc dot gnu dot org
- Date: Sun, 09 Mar 2003 20:12:00 +0100
- 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><20030309171416.GB20548@yeah-baby.shagadelic.org>
Jason R Thorpe <thorpej at wasabisystems dot com> writes:
> On Sun, Mar 09, 2003 at 12:57:54PM +0100, Andreas Jaeger wrote:
>
> > Or should we define this independed of the OS? In that case I'll add
> > this to TARGET_CPU_CPP_BUILTINS instead.
>
> I think the expected macro depends on the OS and the CPU. That said,
> all NetBSD LP64 targets define _LP64 via a common configuration hook.
So, since NetBSD has it already and I think we should add it for Linux
- and it's there for all OS on ia64 , should we define it now for all
OS?
Andreas
--
Andreas Jaeger
SuSE Labs aj at suse dot de
private aj at arthur dot inka dot de
http://www.suse.de/~aj