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]

How to distinguish EGCS



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


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