Download User`s Guide
Transcript
CHAPTER 5. COMPILER CONFIGURATION In the above example, /usr/lib/fpc/2.2.2/linuxunits will be added to the path if you’re compiling with version 2.2.2 of the compiler, otherwise /usr/lib/fpc/2.2.0/linuxunits will be added to the path. 5.2.4 #ENDIF Syntax: #ENDIF #ENDIF marks the end of a block that started with #IF(N)DEF, possibly with an #ELSE between them. 5.2.5 #DEFINE Syntax: #DEFINE name #DEFINE defines a new keyword. This has the same effect as a -dname command line option. 5.2.6 #UNDEF Syntax: #UNDEF name #UNDEF un-defines a keyword if it existed. This has the same effect as a -uname command line option. 5.2.7 #WRITE Syntax: #WRITE Message Text #WRITE writes Message Text to the screen. This can be useful to display warnings if certain options are set. Example: #IFDEF DEBUG #WRITE Setting debugging ON... -g #ENDIF If DEBUG is defined, this will produce a line Setting debugging ON... and will then switch on debugging information in the compiler. 35