-Dgnu_{linux,hurd}

Neil Booth neil@daikokuya.demon.co.uk
Sun Apr 14 02:10:00 GMT 2002


Zack Weinberg wrote:-

> +As of GCC version 3.2, GNU CPP does not define any system-specific
> +macros outside the reserved namespace.  Instead, for each such macro, it
>  provides a parallel macro with two underscores added at the beginning
> -and the end.  If @code{unix} is defined, @code{__unix__} will be defined
> -too.  There will never be more than two underscores; the parallel of
> -@code{_mips} is @code{__mips__}.
> +and end of the name.  If @code{unix} would formerly have been defined,
> +@code{__unix__} will be defined instead. There will never be more than
> +two underscores; the parallel of @code{_mips} is @code{__mips__}.  You
> +must correct old code that expects macros outside the reserved
> +namespace, to use the parallels instead.

Doesn't this conflict with some of the macros still defined, such as
__vxworks here?

> +#define CPP_PREDEFINES "-D__mc68000__ -D__vxworks -D__vxworks_5
-Acpu=m68k -Amachine=m68k"

Neil.



More information about the Gcc-bugs mailing list