16 Jan
2004
16 Jan
'04
06:53
Bastian Schern
Bist du sicher das _int_ auf 'ner Atlon64-Maschine nur 32 Bit hat?
Nicht der Prozessor legt das fest sondern das Betriebssystem. Und das ABI für Linux auf AMD64 legt fest, das int 32 Bit hat und long 64 Bit, genau wie bei Linux für AXP (Alpha). Hol dir das Dokument von x86-64.org und lies nach, wenn du mir nicht glaubst :) Andere Betriebssysteme können das anders festlegen. So wird z.B. bei Windows64 nur long long 64 Bit haben, wohl aus Kompatibilitätsgründen. Philipp -- Philipp Thomas Arbeit: pth AT suse PUNKT de SUSE LINUX AG Privat: philipp PUNKT thomas AT t-link PUNKT de