Date: Thu, 6 Sep 2007 11:10:28 -0700 From: Luigi Rizzo <rizzo@icir.org> To: current@freebsd.org Subject: how to tell 64 vs 32 bit architecture ? Message-ID: <20070906111028.A83649@xorpc.icir.org>
index | next in thread | raw e-mail
hi, i was wondering what is the proper way to tell a 64 vs 32 bit architecture. I see that some code in sys/ uses ' #ifdef __LP64__ ' but i am not sure if this is generic enough (ie not gcc or FreeBSD specific), and also suitable for userland (i.e. works on linux or other platforms as well). cheers luigihome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070906111028.A83649>
