[GCC-XML] Configuring TARGET=64bit on windows?

Brad King brad.king at kitware.com
Fri Jan 25 08:09:07 EST 2008

Ben Schleimer wrote:
> Hi Brad,
>    Thanks for the reply.
> I tried changing the target to x86_64-pc-win32 in
> gcc_platform_win32.cmake but it still doesn't allow the -m64 option to
> work.
> I'm thinking about using the powerpc64-unknown-linux-gnu target with
> rs6000 cpu_type but I don't know what any of the other
> SET are for. 
> I just need help enabling the -m64 option so I can see the sizes and
> offsets of the pointer fields.

Unfortunately I do not know very much about how GCC defines its target
platform.  I stumbled through it once to produce that win32 config file.

One approach is to download the source to GCC 4.2 and try configuring it
under MSys or cross-compiled from a linux machine for the desired target
platform.  Then look in the resulting files to see what options it used.

Sorry I cannot be of more help.  I'm on another deadline right now.


More information about the gccxml mailing list