GCC on AMD64?
Andrew Haley
aph@redhat.com
Mon Apr 5 10:18:00 GMT 2004
nick@os-soft.com writes:
> I have run into slight problems using GCC to develop operating systems code
> for an AMD64 environment. The problem results from not having the
> appropriate code model for the architecture. I am attempting to use more
> than the first or last two gigs of address space.
This is fine: gcj supports AMD64 with a flat 64-bit model.
> This of course, does not work.
It does. Did you build the compiler with the approppriate options?
This should be "-target x86_64".
Andrew.
More information about the Gcc
mailing list