From: Rostislav Chudoba <rch@larissa.sd.bi.ruhr-uni-bochum.de>
To: egcs@cygnus.com
Subject: How to distinguish EGCS
Date: Fri, 30 Oct 1998 03:25:00 -0000 [thread overview]
Message-ID: <13881.38744.364911.4291@troi.baustatik.rwth-aachen.de> (raw)
When porting a code from gcc 2.7.2 to egcs I need to distinguish the
version of the compiler to use the appropriate code. I was searching
for a predefined macro just like __GNUG__ to insert #ifdef #else
#endif.
QUESTION:
Can anyone tell me how to dump the predefined macros? And
whether there is a special macro identifying the current compiler
version?
Lot of Thanks
rch
--
Dr.-Ing. Rostislav Chudoba
Institut fuer Baustatik und Baudynamik
Fakultaet fuer Bauingeniurwesen, RWTH Aachen
mail: rch@baustatik.rwth-aachen.de
www: www.sd.bi.ruhr-uni-bochum.de:/global/staff/chudoba (still in Bcchum)
phone: +49 (241) 80-3510
fax: +49 (241) 8888-303
next reply other threads:[~1998-10-30 3:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-10-30 3:25 Rostislav Chudoba [this message]
1998-10-30 13:42 ` Jeffrey A Law
1998-10-30 14:59 ` Zack Weinberg
1998-10-30 15:21 Jan Reimers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=13881.38744.364911.4291@troi.baustatik.rwth-aachen.de \
--to=rch@larissa.sd.bi.ruhr-uni-bochum.de \
--cc=egcs@cygnus.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).