-fsigned-char on ppc

Jakub Bogusz qboosh at pld-linux.org
Mon Mar 21 21:21:36 CET 2005


On Mon, Mar 14, 2005 at 09:14:07PM +0100, Arkadiusz Miskiewicz wrote:
> Why we use -fsigned-char on ppc?
> 
> http://se-linux.inso.tuwien.ac.at/~hvr/portability/
> ,,For instance, on linux/arm and linux/ppc the char type is unsigned by 
> default, while on other such as linux/ia32 and linux/axp char is signed.''

Not only we, it comes from rpm defaults.

Some (broken) apps expect char to be signed, I remember that we have at
least one which didn't work when built without -fsigned-char (but don't
remember its name).

Similar issue exists on alpha with -mieee.


-- 
Jakub Bogusz    http://cyber.cs.net.pl/~qboosh/




More information about the pld-devel-en mailing list