public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* 64-bit for OS kernel development
@ 2008-02-06 19:28 Frank W. Miller
  2008-02-09  1:49 ` Ian Lance Taylor
  2008-02-14 21:53 ` Building a cross compiler for x86_64 Frank W. Miller
  0 siblings, 2 replies; 10+ messages in thread
From: Frank W. Miller @ 2008-02-06 19:28 UTC (permalink / raw)
  To: gcc-help


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


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2008-02-15  7:17 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-06 19:28 64-bit for OS kernel development Frank W. Miller
2008-02-09  1:49 ` Ian Lance Taylor
2008-02-09  2:54   ` Frank W. Miller
2008-02-09  4:41     ` Ian Lance Taylor
2008-02-14 21:53 ` Building a cross compiler for x86_64 Frank W. Miller
2008-02-15  1:32   ` Brian Dessent
2008-02-15  6:02     ` Frank W. Miller
2008-02-15  6:31       ` Brian Dessent
2008-02-15  7:00         ` Frank W. Miller
2008-02-15  7:17           ` Brian Dessent

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).