Re: How to know which programming model is used on may Linux machine

2012-07-25 Thread Dave Hylands
Hi Pritam, On Wed, Jul 25, 2012 at 4:01 AM, Pritam Bankar wrote: > 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 ? Write a little program to prin

RE: How to know which programming model is used on may Linux

2012-07-25 Thread Rajat Sharma
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

How to know which programming model is used on may Linux machine

2012-07-25 Thread Pritam Bankar
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)