This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: linuxppc
- To: mange at sakar dot net
- Subject: Re: linuxppc
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 12 Nov 2000 10:54:42 -0200
- Cc: gcc-bugs at gcc dot gnu dot org
- Organization: GCC Team, Red Hat
- References: <3A0F0476.7A073557@comp.nus.edu.sg>
On Nov 12, 2000, Magnus Ågren <isc07046@comp.nus.edu.sg> wrote:
> So I have to use the -fsigned-char flag when compiling. This is not the
> case when compiling on linux intel, shouldn't it be the same???
Nope. Whether `char' is signed or unsigned by default belongs in the
ABI specification of each platform/OS. Each ABI is likely to
privilege faster operations on the affected hardware platform, so
that, when you don't care about signedness (which you shouldn't when
using plain char), you don't pay for it.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me