AT&T UNIX™PC Unix System V Users Manual - tenox

AT&T UNIX™PC Unix System V Users Manual - tenox AT&T UNIX™PC Unix System V Users Manual - tenox

01.01.2013 Views

CC (l) FILES cc ( 1 ) -Wa,-m passes -m to the assembler. The C language standard was extended to include arbitrary length variable names. The -T option "-Wp,-T -WO,-XT" will cause the current compiler to behave the same as previous compilers with respect to the length of variable names. -68010 Generate code for the mc68010 processor. -68000 Generate code for the mc68000 processor. -v Verbose. Print pass names as they are performed. -T Truncate variable names to eight characters. -w Tell the linker (ld) not to print warnings about symbols that partially matched. The C compiler uses one of three code generators for the CPU=xxxxx,FPU=yyyyy where CPU indicates the central processor to generate for and FPU indicates the style of floating-point math to use. xxxxx must currently be 68010, and yyyyy may be 68881 or SOFTWARE. The FPU parameter may be deleted, the default is SOFTWARE. The CENVIRON variable should always be set to the appropriate values in the .profile or .Ksh rc files. Other arguments are taken to be either link editor option arguments, C preprocessor option arguments, or C-compatible object programs, typically produced by an earlier cc run, or perhaps libraries of C-compatible routines. These programs, together with the results of any compilations specified, are linked (in the order given) to produce an executable program with the name a.out. Note that modules appear to ld in the same order they (or their source code version) appear to cc. Thus a library or object file should appear in the cc argument list after any module that refers to it. file.c file.o file.s a.out jtmpjctm• /lib/cpp /lib/ccom /lib/optim /bin/as /bin/ld /lib/crW.o /lib/ crts.o /lib/mcrto.o /lib/libc.a /lib/libp/lib/* .a input file object file assembly language file linked output temporary C preprocessor cpp(1) compiler optional optimizer assembler, as (1) link editor, ld(1) runtime startoff shared library startoff profiling startoff standard C library, see section 3 profiled versions of libraries - 2 -

CC(l) /lib/crts.o /lib/mcrto.o /lib/libc.a /lib/libp/lib/* .a shared library startoff profiling startoff standard C library, see section 3 profiled versions of libraries cc ( 1) SEE ALSO The C Programming Language by B. W. Kernighan and D. M. Ritchie. adb(l), cpp( l), as( l), ld(l), prof( l), monitor(3C), shlib(4). NOTES By default, the return value from a C program is completely random. The only two guaranteed ways to return a specific value are to explicitly call exit(2) or to leave the function main() with a ''return expression; " construct. DIAGNOSTICS The diagnostics produced by C itself are intended to be selfexplanatory. Occasional messages may be produced by the assembler or the link editor. BUGS The optimizer may produce incorrect code if one asm() routine requires a jump to a label in another asm() routine. The optimizer should be turned off for these code segments. - 3-

CC(l)<br />

/lib/crts.o<br />

/lib/mcrto.o<br />

/lib/libc.a<br />

/lib/libp/lib/* .a<br />

shared library startoff<br />

profiling startoff<br />

standard C library, see section 3<br />

profiled versions of libraries<br />

cc ( 1)<br />

SEE ALSO<br />

The C Programming Language by B. W. Kernighan and D. M.<br />

Ritchie.<br />

adb(l), cpp( l), as( l), ld(l), prof( l), monitor(3C), shlib(4).<br />

NOTES<br />

By default, the return value from a C program is completely random.<br />

The only two guaranteed ways to return a specific value are<br />

to explicitly call exit(2) or to leave the function main() with a<br />

''return expression; " construct.<br />

DIAGNOSTICS<br />

The diagnostics produced by C itself are intended to be selfexplanatory.<br />

Occasional messages may be produced by the assembler<br />

or the link editor.<br />

BUGS<br />

The optimizer may produce incorrect code if one asm() routine<br />

requires a jump to a label in another asm() routine. The optimizer<br />

should be turned off for these code segments.<br />

- 3-

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

Saved successfully!

Ooh no, something went wrong!