Re: ISO: help porting C code to 64 bit linux platform
- From: Emmanuel Fleury <emmanuel.fleury@xxxxxxxx>
- Date: Thu, 11 Jan 2007 17:24:13 +0100
Jan Panteltje wrote:
From my limited experience you should replace all 'chars' and 'int's with
something like uin8_t uint16_t uin32_t etc...
Are you sure that char size do change ??? I would be a bit surprised...
Then watch out you have off_t where it is needed, not some unsigned long
or something (off_t lseek (int FILEDES, off_t OFFSET, int WHENCE) for example).
Those things so far did it for me.
Just curious... What does off_t stand for ?
Regards
--
Emmanuel Fleury | Office: 261
Associate Professor, | Phone: +33 (0)5 40 00 69 34
LaBRI, Domaine Universitaire | Fax: +33 (0)5 40 00 66 69
351, Cours de la Libération | email: emmanuel.fleury@xxxxxxxx
33405 Talence Cedex, France | URL: http://www.labri.fr/~fleury
.
- Follow-Ups:
- Re: ISO: help porting C code to 64 bit linux platform
- From: Tim Keck
- Re: ISO: help porting C code to 64 bit linux platform
- From: Joe Pfeiffer
- Re: ISO: help porting C code to 64 bit linux platform
- From: Jan Panteltje
- Re: ISO: help porting C code to 64 bit linux platform
- References:
- ISO: help porting C code to 64 bit linux platform
- From: lvirden
- Re: ISO: help porting C code to 64 bit linux platform
- From: Jan Panteltje
- ISO: help porting C code to 64 bit linux platform
- Prev by Date: Re: ISO: help porting C code to 64 bit linux platform
- Next by Date: Re: ISO: help porting C code to 64 bit linux platform
- Previous by thread: Re: ISO: help porting C code to 64 bit linux platform
- Next by thread: Re: ISO: help porting C code to 64 bit linux platform
- Index(es):