This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Identifying the EGCS back-end


Joe Buck wrote:
> 
> Instead, one of these headers could give access to the gcc major and
> minor version numbers:  __GNUC__ and __GNUC_MINOR__ except with different
> names (to represent the compiler being built rather than the compiler
> being used).  [...]

During the compilations, I encountered the definition of
a symbol `IN_GCC'.  Maybe this serves a similar purpose?
If so, a natural choice would be `#define IN_GCC 2' and
`#define IN_GCC_MINOR 91'.

    Peter

-- 
Peter Gerwinski, Essen, Germany, http://home.pages.de/~Peter.Gerwinski/
Maintainer GNU Pascal - http://home.pages.de/~GNU-Pascal/ - gpc-980830
  PGP key on request - 6C 94 45 BE 28 A4 96 - 0E CC E9 12 47 25 82 75
Fight the SPAM and UBE! - http://spam.abuse.net/ - http://maps.vix.com/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]