compiling egcs on openVMS/Alpha with DEC C
Klaus Kaempf
kkaempf@progis.de
Sat Oct 11 08:41:00 GMT 1997
DEC C on openVMS/Alpha can't include alloca.h
Sat Oct 11 16:21:00 1997 Klaus Kaempf (kkaempf@progis.de)
* config/alpha/vms.h: use __ALLOCA macro for DEC C on openVMS
===================================================================
RCS file: config/alpha/RCS/vms.h,v
retrieving revision 1.1
diff -c -r1.1 config/alpha/vms.h
*** config/alpha/vms.h 1997/10/08 09:50:32 1.1
--- config/alpha/vms.h 1997/10/08 09:51:04
***************
*** 29,34 ****
--- 29,39 ----
#include "alpha/alpha.h"
+ #ifdef __DECC
+ #define alloca(n) __ALLOCA (n)
+ #include <builtins.h>
+ #endif
+
/* Predefine this in CPP because VMS limits the size of command options
and GNU CPP is not used on VMS except with GNU C. */
#undef CPP_PREDEFINES
--
proGIS Software E-Mail: kkaempf@progis.de
Dipl.-Inform. Klaus K"ampf Fax: 0241-47067-29
Jakobstr. 117 Voice: 0241-47067-11
D-52064 Aachen WWW: http://www.progis.de
More information about the Gcc
mailing list