This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Identifying the EGCS back-end
Joe Buck wrote:
>
> If the Pascal compiler is always built by first building the C compiler
> in phase 1, and then using it to build the complete suite in phase 2,
> then yes, it does seem that
>
> #if __GNUC__ >= 2 || __GNUC_MINOR__ >= 90
> #define EGCS
> #endif
>
> would work. If someone were building a Pascal cross-compiler and used
> a different gcc version to do it, this would not work, but that scenario
> isn't that likely.
We are cross-building Pascal cross-compilers, and people are
doing things with GPC we never thought of. IMHO, the questions
"Which compiler am I being compiled with?" and "Which compiler
back-end am I being linked against?" should remain separated.
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/