02.05.2013 Views

Description - Mks.com

Description - Mks.com

Description - Mks.com

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

The default configuration file for cc is<br />

ROOTDIR/etc/<strong>com</strong>piler.ccg<br />

You may chose a different configuration file by setting the environment variable CCG to point to the<br />

desired file. Interfaces to other <strong>com</strong>pilers may be available from MKS.<br />

If you want cc to temporarily use a different <strong>com</strong>piler, you can set the environment variable CCG to<br />

the name of the configuration file for the desired <strong>com</strong>piler.<br />

If you rename the cc executable, it attempts to find its default configuration in a .ccg file with the<br />

same base name as the renamed executable. For example, if you rename cc.exe to c89.exe,<br />

c89 looks for a default configuration file named c89.ccg in ROOTDIR/etc.<br />

If you use a <strong>com</strong>piler that does not have a configuration file, you can customize a given<br />

configuration file to use your <strong>com</strong>piler. Read the cc miscellaneous information reference page<br />

carefully, and modify an existing configuration to use your <strong>com</strong>piler.<br />

ENVIRONMENT VARIABLES<br />

CCG<br />

identifies the configuration file for the desired <strong>com</strong>piler. If CCG contains -, cc reads the<br />

default configuration from the standard input. If CCG contains a file name, cc uses that file<br />

as its default configuration file. If CCG contains a directory name, cc looks for the default<br />

configuration in the cc.ccg file in that directory. If the executable has been renamed, it<br />

looks for the default configuration in a .ccg file with the same name as the executable. For<br />

example, if cc.exe is renamed to c89.exe, it looks for the default configuration in<br />

$CCG/c89.ccg.<br />

DIAGNOSTICS<br />

Possible exit status values are:<br />

0<br />

>0<br />

Successful <strong>com</strong>pletion.<br />

An error occurred.<br />

AVAILABILITY<br />

359 of 457

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!