This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
How to distinguish EGCS
- To: egcs at cygnus dot com
- Subject: How to distinguish EGCS
- From: Rostislav Chudoba <rch at larissa dot sd dot bi dot ruhr-uni-bochum dot de>
- Date: Fri, 30 Oct 1998 11:45:01 +0100 (CET)
- Reply-To: rch at troi dot baustatik dot rwth-aachen dot de
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