Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion passing uint64_t integer to a function that takes uint64_t converts it to 32 bit
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Sarvi Shanmugham  
View profile  
 More options Oct 7 2012, 12:10 pm
From: Sarvi Shanmugham <sarvil...@gmail.com>
Date: Sun, 7 Oct 2012 09:10:49 -0700 (PDT)
Local: Sun, Oct 7 2012 12:10 pm
Subject: Re: [python-cffi] passing uint64_t integer to a function that takes uint64_t converts it to 32 bit

Yes. I am using the _cffi_backend built for the build host during the compilation.
Which is why a test load of the shared so cross built for the target host generates trace back that I have to ignore cross builds.

We are compiling some 12 other python extensions without any emulators the same way I am compiling these cffi extensions.

I can't find anything through google on autoconf and emulations for cross compilation.
And we don't use it for any of the more then 100 or some components that we cross compile.

May be I don't understand the issue with data types and sizes
http://en.wikipedia.org/wiki/C_data_types

From what I can tell, int, long sizes vary with platforms. If you really want fixed length data types it looks like you need to use intN_t from stdint.h. And considering that cffi has basic data types thare infact intN_t, shouldn't that be the right choice?

Sarvi


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.