[ELDK] char type is being interpreted as 'unsigned char'
Dipanjan Dutta
dipanjan.dutta at ccpu.com
Thu Feb 21 12:50:28 CET 2008
Hi,
I'm using 'char' data types in my program. On Redhat enterprise
(2.6.9-55.ELsmp / gcc 3.4.6) it is being interpreted as 'signed char'
and providing a value range of -128 to +127.
When I cross compile for ELDK 4.1/PPC 8280 (using ARCH=powerpc /
CROSS_COMPILE=ppc_6xx-, ppc_6xx-gcc 4.0.0), char is getting interpreted
as 'unsigned char' and providing a value range of 0 - 255.
Is there a way I can make 'char' being interpreted as 'signed char' on
this ELDK platform?
Thanks,
Dipanjan
More information about the eldk
mailing list