óÀ½, ÀÌÀü, ´ÙÀ½, ¸¶Áö¸· Àý·Î °¡±â, ¸ñÂ÷.


¿ø¹®½ÃÀÛ

Compiler options

Invoking the compiler:

The GNU CHILL compiler supports several new command line options, and brings a new use to another:

-lang-chill
This option instructs gcc that the following file is a CHILL source file, even though its extension is not the default `.ch'.
-flocal-loop-counter
The CHILL compiler makes a separate reach, or scope, for each DO FOR loop. If -flocal-loop-counter is specified, the loop counter of value enumeration and location enumeration is automatically declared inside that reach. This is the default behavior, required by Z.200.
-fno-local-loop-counter
When this option is specified, the above automatic declaration is not performed, and the user must declare all loop counters explicitly.
-fignore-case
When this option is specified, the compiler ignores case. All identifiers are converted to lower case. This enables the usage of C runtime libraries.
-fno-ignore-case
Ignoring the case of identifiers is turned off.
-fruntime-checking
The CHILL compiler normally generates code to check the validity of expressions assigned to variables or expressions passed as parameters to procedures and processes, if those expressions cannot be checked at compile time. This is the default behavior, required by Z.200. This option allows you to re-enable the default behavior after disabling it with the -fno-runtime-checking option.
-fno-runtime-checking
The CHILL compiler normally generates code to check the validity of expressions assigned to variables, or expressions passed as parameters to procedures and processes. This option allows you to disable that code generation. This might be done to reduce the size of a program's generated code, or to increase its speed of execution. Compile time range-checking is still performed.
-fgrant-only
-fchill-grant-only
This option causes the compiler to stop successfully after creating the grant file specified by the source file (see modular programming in CHILL). No code is generated, and many categories of errors are not reported.
-fold-string
Implement the semantics of Chill 1984 with respect to strings: String indexing yields a slice of length one; CHAR is similar to CHAR(1) (or CHARS(1)); and BOOL is similar to BIT(1) (or BOOLS(1)).
-fno-old-string
Don't implement 1984 Chill string semantics. This is the default.
-Iseize_path
This directive adds the specified seize path to the compiler's list of paths to search for seize files. When processing a USE_SEIZE_FILE directive, the compiler normally searches for the specified seize file only in the current directory. When one or more seize paths are specified, the compiler also searches in those directories, in the order of their specification on the command line, for the seize file.
-c
This C-related switch, which normally prevents gcc from attempting to link, is *not* yet implemented by the chill command, but you can use the gcc command with this flag.

¿ø¹®³¡

ÄÄÆÄÀÏ·¯ ¿É¼Ç

ÄÄÆÄÀÏ·¯ È£ÃâÇϱâ:

GNU CHILL ÄÄÆÄÀÏ·¯´Â ¸î°¡Áö »õ·Î¿î ¸í·ÉÇà ¿É¼Ç(command line option)À» Áö¿øÇÏ°í, »õ·Î¿î ±â´ÉÀ» ´Ù¸¥ °Í¿¡°Ô °¡Á®´Ù ÁÖ¾ú´Ù:

-lang-chill
ÀÌ ¿É¼ÇÀº È®ÀåÀÚ°¡ ½ÉÁö¾î ±âº»°ªÀÎ '.ch'°¡ ¾Æ´ÒÁö¶óµµ ´ÙÀ½ ÆÄÀÏÀÌ CHILL ¿ø½Ã ÆÄÀÏ(source file)ÀÓÀ» gcc¿¡°Ô ¾Ë·Á ÁØ´Ù.
-flocal-loop-counter
CHILL ÄÄÆÄÀÏ·¯´Â °¢°¢ÀÇ DO FOR ·çÇÁ(loop)¿¡ ´ëÇÏ¿© ºÐ¸®µÈ ¹üÀ§(reach or scope)¸¦ ¸¸µç´Ù. ¸¸¾à -flocal-loop-counter°¡ ÁöÁ¤µÇ¾ú´Ù¸é, ¼öÄ¡¸ñ·Ï(value enumeration)°ú À§Ä¡¸ñ·Ï(location enumeration)ÀÇ ·çÇÁ °è¼ö±â(loop counter)°¡ ÀÚµ¿ÀûÀ¸·Î ±× ¹üÀ§³»¿¡¼­ ¼±¾ðµÈ´Ù. ÀÌ°ÍÀº Z.200¿¡ ÀÇÇØ ¿ä±¸µÈ ±âº»µ¿ÀÛÀÌ´Ù.
-fno-local-loop-counter
ÀÌ ¿É¼ÇÀÌ ÁöÁ¤µÉ ¶§, À§ÀÇ ÀÚµ¿ ¼±¾ðÀº ¼öÇàµÇÁö ¾Ê´Â´Ù. ±×¸®°í »ç¿ëÀÚ´Â ¸íÈ®È÷ ¸ðµç ·çÇÁ °è¼ö±â¸¦ ¼±¾ðÇØ¾ß ÇÑ´Ù.
-fignore-case
ÀÌ ¿É¼ÇÀÌ ÁöÁ¤µÉ ¶§, ÄÄÆÄÀÏ·¯´Â ´ë¼Ò¹®ÀÚ ±¸º°À» ¹«½ÃÇÑ´Ù. ¸ðµç ½Äº°ÀÚ(identifier)´Â ¼Ò¹®ÀÚ·Î º¯È­µÈ´Ù. ÀÌ°ÍÀº C ·±Å¸ÀÓ ¶óÀ̺귯¸®(runtime library)ÀÇ »ç¿ëÀ» °¡´ÉÄÉÇÑ´Ù.
-fno-ignore-case
½Äº°ÀÚÀÇ ´ë¼Ò¹®ÀÚ ±¸º° ¹«½Ã¸¦ ÇØÁ¦ÇÑ´Ù.
-fruntime-checking
¸¸¾à º¯¼ö¿¡ ÁöÁ¤µÈ Ç¥Çö ¶Ç´Â ÇÁ·Î½ÃÀú(procedure)¿Í ÇÁ·Î¼¼½º(process)¿¡ ¸Å°³º¯¼ö·Î½á Àü´ÞµÈ Ç¥ÇöÀÌ ÄÄÆÄÀÏ ½Ã°£¿¡ °Ë»çµÉ ¼ö ¾ø´Ù¸é, CHILL ÄÄÆÄÀÏ·¯´Â ÀϹÝÀûÀ¸·Î ÀÌ·¯ÇÑ Ç¥ÇöÀÇ À¯È¿ÇÔÀ» °Ë»çÇÒ Äڵ带 »ý¼ºÇÑ´Ù. ÀÌ°ÍÀº Z.200¿¡ ÀÇÇØ ¿ä±¸µÈ ±âº»µ¿ÀÛÀÌ´Ù. ÀÌ ¿É¼ÇÀº -fno-runtime-checking ¿É¼ÇÀ¸·Î ºñÈ°¼ºÈ­µÈ ÈÄÀÇ ±âº» µ¿ÀÛÀ» ´Ù½Ã È°¼ºÈ­½ÃÄÑÁØ´Ù.
-fno-runtime-checking
CHILL ÄÄÆÄÀÏ·¯´Â ÀϹÝÀûÀ¸·Î º¯¼ö¿¡ ÁöÁ¤ÇÑ Ç¥Çö ¶Ç´Â ÇÁ·Î½ÃÀú¿Í ÇÁ·Î¼¼½º·Î½á Àü´ÞµÈ Ç¥ÇöÀÇ À¯È¿ÇÔÀ» °Ë»çÇÒ Äڵ带 »ý¼ºÇÑ´Ù. ÀÌ ¿É¼ÇÀº ±×·¯ÇÑ ÄÚµå »ý¼ºÀ» ºñÈ°¼ºÈ­Çϵµ·Ï ÇÑ´Ù. ÀÌ°ÍÀº ÇÁ·Î±×·¥ÀÇ »ý¼ºµÈ ÄÚµå Å©±â¸¦ ÁÙÀ̰ųª ½ÇÇà¼Óµµ¸¦ Áõ°¡½ÃųÁöµµ ¸ð¸¥´Ù. ÄÄÆÄÀÏ ½Ã°£ ¹üÀ§Ã¼Å©(range-checking)´Â ¿©ÀüÈ÷ ¼öÇàµÈ´Ù.
-fgrant-only
-fchill-grant-only
ÀÌ ¿É¼ÇÀº ¿ø½Ã ÆÄÀÏ¿¡ ÀÇÇØ ÁöÁ¤µÈ grant ÆÄÀÏÀ» »ý¼ºÇÑ ÈÄ¿¡ ÄÄÆÄÀÏ·¯°¡ ¼º°øÀûÀ¸·Î ¸ØÃß°Ô ÇÑ´Ù(CHILL¿¡¼­ ¸ðµâ ÇÁ·Î±×·¡¹ÖÀ» º¸¶ó). ¾î¶°ÇÑ Äڵ嵵 »ý¼ºµÇÁö ¾Ê´Â´Ù. ±×¸®°í ¿¡·¯ÀÇ ¹üÁÖÁß ¸¹Àº ¼ö°¡ º¸°íµÇÁö ¾Ê´Â´Ù.
-fold-string
¹®ÀÚ¿­¿¡ ´ëÇÑ Chill 1984ÀÇ Àǹ̷Ð(semantics)À» ¼öÇàÇ϶ó: ¹®ÀÚ¿­À» »öÀÎÇϸ鼭 ¾à°£ÀÇ ±æÀÌ°¡ ³ª¿Â´Ù; CHARÀº CHAR(1)(¶Ç´Â CHARS(1))°ú À¯»çÇÏ´Ù; ±×¸®°í BOOLÀº BIT(1)(¶Ç´Â BOOLS(1)) °ú À¯»çÇÏ´Ù.
-fno-old-string
1984 Chill ¹®ÀÚ¿­ Àǹ̷ÐÀ» ¼öÇàÇÏÁö ¸»¶ó. ÀÌ°ÍÀÌ µðÆúÆ®(default)ÀÌ´Ù.
-Iseize_path
ÀÌ Áö½Ã¾î´Â ÄÄÆÄÀÏ·¯ÀÇ Æ÷ȹ ÆÄÀÏ(seize file) °Ë»ö °æ·Î ¸®½ºÆ®¿¡ ƯÁ¤ Æ÷ȹ °æ·Î¸¦ Ãß°¡ÇÑ´Ù. USE_SEIZE_FILE Áö½Ã¾î¸¦ ó¸®ÇÒ ¶§, ÄÄÆÄÀÏ·¯´Â ÀϹÝÀûÀ¸·Î Çö µð·ºÅ丮¿¡¼­¸¸ ÁöÁ¤µÈ Æ÷ȹ ÆÄÀÏ¿¡ ´ëÇÑ °Ë»öÀ» ÇÑ´Ù. Çϳª ¶Ç´Â ±× ÀÌ»óÀÇ Æ÷ȹ °æ·Î°¡ ÁöÁ¤µÇ¾ú´Ù¸é, ÄÄÆÄÀÏ·¯´Â ¶ÇÇÑ Æ÷ȹ ÆÄÀÏ¿¡ ´ëÇؼ­ ±× µð·ºÅ丮µé¿¡¼­ ¸í·ÉÇà»óÀÇ ÁöÁ¤¼øÀ¸·Î °Ë»öÇÑ´Ù.
-c
ÀϹÝÀûÀ¸·Î gccÀÇ ¸µÅ©(link) ½Ãµµ¸¦ ¸·´Â ÀÌ C°ü·Ã ½ºÀ§Ä¡´Â, chill ¸í·ÉÀ¸·Î´Â ¾ÆÁ÷ ¼öÇàµÇÁö ¾Ê´Â´Ù. ±×·¯³ª ÀÌ Ç÷¡±×(flag)¿Í ÇÔ²² gcc ¸í·ÉÀ» »ç¿ëÇÒ ¼ö´Â ÀÖ´Ù.


óÀ½, ÀÌÀü, ´ÙÀ½, ¸¶Áö¸· Àý·Î °¡±â, ¸ñÂ÷.