From 97b9bda15f53d3c961f951fa0ccc3496c9729265 Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Wed, 30 Sep 1992 14:23:56 +0000 Subject: [PATCH] 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 --- src/config/vaxbsd.cf | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) 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 -- 2.26.2