X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Fcc65%2Fglobal.h;h=8b0af5a83729355f2e9520d4368f1d8a4cc734d2;hb=7e14dde07b5fb5749b5f58fde3f24069682b3cc6;hp=7cec820bf66aac07971572373468ad95dd5be36a;hpb=d01687fd828d286a96a5164ee8dead6b5d3e0f14;p=cc65 diff --git a/src/cc65/global.h b/src/cc65/global.h index 7cec820bf..8b0af5a83 100644 --- a/src/cc65/global.h +++ b/src/cc65/global.h @@ -1,15 +1,15 @@ /*****************************************************************************/ /* */ -/* global.h */ +/* global.h */ /* */ -/* Global variables for the cc65 C compiler */ +/* Global variables for the cc65 C compiler */ /* */ /* */ /* */ -/* (C) 1998-2004 Ullrich von Bassewitz */ -/* Römerstraße 52 */ -/* D-70794 Filderstadt */ -/* EMail: uz@cc65.org */ +/* (C) 1998-2015, Ullrich von Bassewitz */ +/* Roemerstrasse 52 */ +/* D-70794 Filderstadt */ +/* EMail: uz@cc65.org */ /* */ /* */ /* This software is provided 'as-is', without any expressed or implied */ @@ -40,40 +40,45 @@ /* common */ #include "intstack.h" +#include "strbuf.h" /*****************************************************************************/ -/* Data */ +/* Data */ /*****************************************************************************/ -extern unsigned char AddSource; /* Add source lines as comments */ -extern unsigned char DebugInfo; /* Add debug info to the obj */ -extern unsigned char CreateDep; /* Create a dependency file */ -extern unsigned char ANSI; /* Strict ANSI flag */ +/* Options */ +extern unsigned char AddSource; /* Add source lines as comments */ +extern unsigned char AutoCDecl; /* Make functions default to __cdecl__ */ +extern unsigned char DebugInfo; /* Add debug info to the obj */ +extern unsigned char PreprocessOnly; /* Just preprocess the input */ +extern unsigned char DebugOptOutput; /* Output debug stuff */ extern unsigned RegisterSpace; /* Space available for register vars */ /* Stackable options */ -extern IntStack WarnDisable; /* Suppress warnings */ -extern IntStack WritableStrings; /* Literal strings are r/w */ -extern IntStack InlineStdFuncs; /* Inline some known functions */ -extern IntStack EnableRegVars; /* Enable register variables */ -extern IntStack AllowRegVarAddr; /* Allow taking addresses of register vars */ -extern IntStack RegVarsToCallStack; /* Save reg variables on call stack */ -extern IntStack StaticLocals; /* Make local variables static */ -extern IntStack SignedChars; /* Make characters signed by default */ -extern IntStack CheckStack; /* Generate stack overflow checks */ -extern IntStack Optimize; /* Optimize flag */ -extern IntStack CodeSizeFactor; /* Size factor for generated code */ +extern IntStack WritableStrings; /* Literal strings are r/w */ +extern IntStack LocalStrings; /* Emit string literals immediately */ +extern IntStack InlineStdFuncs; /* Inline some known functions */ +extern IntStack EnableRegVars; /* Enable register variables */ +extern IntStack AllowRegVarAddr; /* Allow taking addresses of register vars */ +extern IntStack RegVarsToCallStack; /* Save reg variables on call stack */ +extern IntStack StaticLocals; /* Make local variables static */ +extern IntStack SignedChars; /* Make characters signed by default */ +extern IntStack CheckStack; /* Generate stack overflow checks */ +extern IntStack Optimize; /* Optimize flag */ +extern IntStack CodeSizeFactor; /* Size factor for generated code */ +extern IntStack DataAlignment; /* Alignment for data */ + +/* File names */ +extern StrBuf DepName; /* Name of dependencies file */ +extern StrBuf FullDepName; /* Name of full dependencies file */ +extern StrBuf DepTarget; /* Name of dependency target */ /* End of global.h */ #endif - - - -