Followup to:  <[EMAIL PROTECTED]>
By author:    "Joseph S. Myers" <[EMAIL PROTECTED]>
In newsgroup: linux.utf8
> 
> Defining this is of course the responsibility of the compiler (6.10.8p3 -
> the value must be constant throughout the translation unit - so the same
> before and after any standard headers are included).  So it would be more
> correct to arrange for GCC to define it if the target headers contain an
> appropriate definition with the value.  Unfortunately GCC does not
> distinguish between glibc2.1 and glibc2.2 as targets.
> 

It seems to me the cleanest way to deal with this would be to have a
"magic header" that is always included by gcc even when not specified
by the end user (unless an option is given, e.g. -nostdinc), much in
the same way crt0.o is always included when linking.

        -hpa
-- 
<[EMAIL PROTECTED]> at work, <[EMAIL PROTECTED]> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt
-
Linux-UTF8:   i18n of Linux on all levels
Archive:      http://mail.nl.linux.org/lists/

Reply via email to