This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: WELCOME to gcc-help-digest@gcc.gnu.org
- From: corey taylor <corey dot taylor at gmail dot com>
- To: Roger Tucker <roger dot tucker at mci dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Wed, 12 Oct 2005 18:50:21 -0500
- Subject: Re: WELCOME to gcc-help-digest@gcc.gnu.org
- References: <1129159739.11970.ezmlm@gcc.gnu.org> <0IO900D0WTUM3J@dgismtp05.mcilink.com>
If you're talking about the x86 32-bit and 64-bit targets, you can
switch with the -m32 and -m64 flags.
http://gcc.gnu.org/onlinedocs/gcc-4.0.2/gcc/i386-and-x86_002d64-Options.html#i386-and-x86_002d64-Options
Watch out when you switch because long also changes.
corey
On 10/12/05, Roger Tucker <roger.tucker@mci.com> wrote:
>
> Is there a way to declare both 32 bit pointers and 64 bit pointers in the
> same application. I need a pragma or something to change between 32 bit
> pointers and 64 bit pointers. Is there a way to do this in gcc?
>
> Thanks,
> Roger
>
>