From: Theodore Tso Date: Wed, 30 Sep 1992 14:23:56 +0000 (+0000) Subject: Changes to support VAX9000 cross compiling X-Git-Tag: krb5-1.0-beta2~6 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=97b9bda15f53d3c961f951fa0ccc3496c9729265;p=krb5.git Changes to support VAX9000 cross compiling Also change so that debugging information is there by default, and that cc is used instead of GCC (for saber debugging) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2456 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/config/vaxbsd.cf b/src/config/vaxbsd.cf index 799cc525f..42c154973 100644 --- a/src/config/vaxbsd.cf +++ b/src/config/vaxbsd.cf @@ -37,7 +37,10 @@ #define UnalignedReferencesAllowed YES /* if arbitrary deref is okay */ #define DesDefines -DBIG -DLSBFIRST #undef HasGcc +#ifdef notdef /* Added by TYT, for use in doing VAX9000 cross compiles */ #define HasGcc YES +#define UltrixCrossCompile +#endif /* notdef -- TYT */ #endif #undef HasNdbm @@ -47,9 +50,21 @@ #define MakeDependDefine '-DGCCINCPATH="/mit/gnu/vaxlib/gcc-include"' #define MakeDependFlags -D__STDC__ -I/mit/gnu/vaxlib/gcc-include #ifndef CcCmd -#define CcCmd gcc -fstrength-reduce -fpcc-struct-return -pedantic -ansi -Wall -Dunix -Dvax -#define STDCTopIncludes -I$(TOP)/include/stdc-incl +#ifdef UltrixCrossCompile +#define CcCmd gcc -b vax-bsd -pedantic -fpcc-struct-return -Wall -Dunix -Dvax +#else +#define CcCmd gcc2 -pedantic -fpcc-struct-return -Wall -Dunix -Dvax +#endif +#define OptimizedCDebugFlags -O3 +#define DefaultCDebugFlags OptimizedCDebugFlags -g #endif +#else +/* + * I want to see what's going on! + */ +#define DefaultCDebugFlags -g #endif +#ifndef DefaultCDebugFlags #define DefaultCDebugFlags OptimizedCDebugFlags +#endif