On 06/13/2012 01:59 PM, Joseph S. Myers wrote:
On Wed, 13 Jun 2012, rbmj wrote:

Since u?int.*_t are already defined, would this work?  Or should I use the
non-typedef'd versions?  Also, I'm not exactly sure how to run the regression
tests with a cross compiler.  I'm still new to everything, bear with me :-)
You have to use the non-typedef versions, with the keywords in the correct
order - see the documentation of SIZE_TYPE in tm.texi for details.

OK, so I've looked everything over a few times, and I know that these are in types/vxTypesOld.h, which is not in the arch directory, so it *should* be architecture independent for vxWorks:

typedef    signed char    INT8;
typedef    signed short    INT16;
typedef    signed int    INT32;
typedef    signed long long INT64;

typedef    unsigned char    UINT8;
typedef    unsigned short    UINT16;
typedef    unsigned int    UINT32;
typedef    unsigned long long UINT64;

My issue is that I'm uncomfortable with this, as it seems *too* easy. With the number of architectures vxWorks supports, I'm highly skeptical that this actually works across all vxWorks targets. Since I only work with ppc32 targets, perhaps somebody who has knowledge of other vxWorks ports could confirm or dismiss my fears.

Sorry for the amount of time it has taken me to respond.

Robert

Reply via email to