Line Continuation

Specify an environment variable in an environment file ( default.env) over several lines using the line continuation character `\' (Refer the following listing).

Listing: Specifying an Environment Variable using Line Continuation Characters
OPTIONS=\ -W2 \ -Wpd

This is the same as:

OPTIONS=-W2 -Wpd  

However, this feature may not work well used together with paths. For example, the following code is a valid use of the continuation character:

GENPATH=.\  
TEXTFILE=.\txt  

However the compiler understands these instructions as:

GENPATH=.TEXTFILE=.\txt  

To avoid such problems, use a semicolon ( ;) at the end of a path if using a continuation character ( \) at the end of the line, as shown in the following listing.

Listing: Using a Semicolon to Allow a Multiple Line Environment Variable
GENPATH=.\;TEXTFILE=.\txt