This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
64-bit for OS kernel development
- From: "Frank W. Miller" <fwmiller at cornfed dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Wed, 06 Feb 2008 12:28:14 -0700
- Subject: 64-bit for OS kernel development
Greetings,
I am interested in using gcc to extend the development of an OS kernel
from 32-bit to 64-bit for Intel and AMD processors.
If I use a compiler that is built for a 32-bit Linux distro, and I
change my types in the kernel code from 32 bit (long and unsigned long)
to 64 bit (long long and unsigned long long), will the resulting data
types use the native 64-bit types on the underlying machine?
Thanks,
FM