This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
GCC on AMD64?
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.