Next: , Previous: , Up: Bootstrapping   [Contents][Index]


3.3 Invoking mescc

mescc optionFILE

The options can be among the following:

--align=symbol

align symbol, the default is functions; other valid values are: globals.

--base-address=ADDRESS

use BaseAddress ADDRESS [0x1000000]

-c

preprocess, compile and assemble only; do not link

-D DEFINE[=VALUE]
-dumpmachine

display the compiler’s target processor

-E

preprocess only; do not compile, assemble or link

-g

add blood-elf debug info

This enables GDB setting breakpoints on function names, and to have the GDB backtrace command to show the function call stack.

-h, --help

display this help and exit

-I DIR

append DIR to include path

-L DIR

append DIR to library path

-l LIBNAME

link with LIBNAME

-m BITS

compile for BITS bits [32]

-O LEVEL

use optimizing LEVEL

-o FILE

write output to FILE

-S

preprocess and compile only; do not assemble or link

--std=STANDARD

assume that the input sources are for STANDARD

-V,--version

display version and exit

-w,--write=TYPE

dump Nyacc AST using TYPE {pretty-print,write}

-x LANGUAGE

specify LANGUAGE of the following input files