signed or unsigned char

Bob Lee bobl@agilestorage.com
Thu Apr 19 11:35:00 GMT 2001


On Wed, Apr 18, 2001 at 08:43:29PM -0700, Hua Ji wrote:
> Hi, folks,

> I suddenly found this with my powerpc compiler targeted for 405GP.
> 
> The char is being treated **unsigned** **by default** by the compiler. I
> don't why this happened.

    That's the way the Sytem V ABI PowerPC Supplement decrees it.
    thus. We ran across this while I was at LynuxWorks with our tool
    chain. Planned to make all instantiations of gcc operate the
    same, when we found this issue in the ABI.

    I believe you can set the type of ABI when you build the compiler.
    There is at least one other choice, the embedded ABI from Motorola.
    I don't happen to have a copy of that handy.

> Mike

bob
--
bobl@agilestorage.com

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com



More information about the crossgcc mailing list