This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: WELCOME to gcc-help-digest@gcc.gnu.org


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
>
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]