Subject: Re: __STDC__ in cdefs_elf.h
To: Garrett D'Amore <garrett_damore@tadpole.com>
From: Valeriy E. Ushakov <uwe@ptc.spbu.ru>
List: tech-kern
Date: 09/09/2006 02:44:55
On Fri, Sep 08, 2006 at 14:38:53 -0700, Garrett D'Amore wrote:

> Note the -traditional-cpp.
> 
> So, my question to all you toolchain experts out there is, is this
> really necessary?  Can we use an ANSI cpp?  I don't know -- my
> biggest concern surrounds some unusual assembler language which
> requires the use of # or ##.  The ones I've seen all use $ and % to
> indicate registers, etc., but maybe this isn't general?

sh3 uses # for immediate.

istr that m68k uses # for immediate too, but iirc it can cope with
ansi cpp (istr it hides # in a separate macro).

SY, Uwe
-- 
uwe@ptc.spbu.ru                         |       Zu Grunde kommen
http://snark.ptc.spbu.ru/~uwe/          |       Ist zu Grunde gehen