Subject: Re: mksyntax (Was: weird lossage with xcompile macppc -> sparc)
To: Valeriy E. Ushakov <>
From: Bill Studenmund <>
List: tech-toolchain
Date: 10/31/2002 09:18:41
On Thu, 31 Oct 2002, Valeriy E. Ushakov wrote:

> I've just been bitten by this problem that Matthew Green reproted on
> September 21 (I was x-building macppc->hpcsh).
> So the problem is that bin/sh/Makefile defines:
> .if	(${MACHINE_ARCH} == "powerpc") || \
> 	(${MACHINE_CPU} == "arm")
> .else
> .endif
> So when mksyntax is run on an arm or ppc host, it gets compiled with
> TARGET_CHAR set to *host* own, unsgined, "char".  Using "signed char"
> for .else branch fixes this.


> I wonder if we care about host compilers that don't support "signed"?

I don't think so. I think signed has been around for a very long time.

Take care,