How to know which programming model is used on may Linux
machine
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Just compile the code with kbuild and print sizeof?
--
Rajat
From: Pritam Bankar
Sent: 25-07-2012 16:34
To: kernelnewbies
Subject: How to know which programming model is used on may Linux machine
Hi,
AFAIK there are three programming model that can be chosen on 64 bit environment. These models are LP64, ILP64, LLP64
Question 1) But how can I know which model is used on my system ?
Question 2) Does long long data type is limited for LLP64 type model ?
(My system is redhat 6.2 64bit)
Thanks
Pritam Bankar
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies