2006-09-21 15:09:22 +02:00
|
|
|
.TH ROMCC 1 "September 19, 2006"
|
2006-09-08 19:44:42 +02:00
|
|
|
.SH NAME
|
|
|
|
romcc \- compile C programs into binaries that don't use any RAM
|
|
|
|
.SH SYNOPSIS
|
|
|
|
.B romcc
|
2006-09-21 15:09:22 +02:00
|
|
|
[OPTIONS]
|
|
|
|
<source>.c
|
2006-09-08 19:44:42 +02:00
|
|
|
.SH DESCRIPTION
|
|
|
|
.B romcc
|
|
|
|
is a C compiler which produces binaries which do not rely on RAM, but
|
|
|
|
instead only use CPU registers.
|
2006-09-21 15:09:22 +02:00
|
|
|
.PP
|
2008-01-18 16:08:58 +01:00
|
|
|
It is prominently used in the coreboot project to compile C code which
|
|
|
|
needs to run before the firmware has initialized the RAM, but can be
|
2006-09-08 19:44:42 +02:00
|
|
|
used for other purposes, too.
|
|
|
|
.SH OPTIONS
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-o" <filename>
|
|
|
|
Output file name.
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-f<option>"
|
|
|
|
Specify a generic compiler option.
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-m<option>"
|
|
|
|
Specify an architecture-dependent compiler option.
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-\-"
|
|
|
|
Specify that this is the last option.
|
|
|
|
.SH "GENERIC COMPILER OPTIONS"
|
|
|
|
.B "\-O"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-O2"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-E"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-ftrigraphs"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-fno-trigraphs"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-fpp-only"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-fno-pp-only"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-feliminate-inefectual-code"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-fno-eliminate-inefectual-code"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-fsimplify"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-fno-simplify"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-fscc-transform"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-fno-scc-transform"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-fsimplify-op"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-fno-simplify-op"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-fsimplify-phi"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-fno-simplify-phi"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-fsimplify-label"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-fno-simplify-label"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-fsimplify-branch"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-fno-simplify-branch"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-fsimplify-copy"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-fno-simplify-copy"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-fsimplify-arith"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-fno-simplify-arith"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-fsimplify-shift"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-fno-simplify-shift"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-fsimplify-bitwise"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-fno-simplify-bitwise"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-fsimplify-logical"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-fno-simplify-logical"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-fsimplify-bitfield"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-fno-simplify-bitfield"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-finline-policy=always"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-finline-policy=never"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-finline-policy=defaulton"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-finline-policy=defaultoff"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-finline-policy=nopenalty"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-fdebug-all"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-fno-debug-all"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-fdebug-abort-on-error"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-fno-debug-abort-on-error"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-fdebug-basic-blocks"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-fno-debug-basic-blocks"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-fdebug-fdominators"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-fno-debug-fdominators"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-fdebug-rdominators"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-fno-debug-rdominators"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-fdebug-triples"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-fno-debug-triples"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-fdebug-interference"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-fno-debug-interference"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-fdebug-scc-transform"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-fno-debug-scc-transform"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-fdebug-scc-transform2"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-fno-debug-scc-transform2"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-fdebug-rebuild-ssa-form"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-fno-debug-rebuild-ssa-form"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-fdebug-inline"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-fno-debug-inline"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-fdebug-live-range-conflicts"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-fno-debug-live-range-conflicts"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-fdebug-live-range-conflicts2"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-fno-debug-live-range-conflicts2"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-fdebug-color-graph"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-fno-debug-color-graph"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-fdebug-color-graph2"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-fno-debug-color-graph2"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-fdebug-coalescing"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-fno-debug-coalescing"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-fdebug-coalescing2"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-fno-debug-coalescing2"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-fdebug-verification"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-fno-debug-verification"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-fdebug-calls"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-fno-debug-calls"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-fdebug-calls2"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-fno-debug-calls2"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-fdebug-tokens"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-fno-debug-tokens"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-flabel-prefix=<prefix for assembly language labels>"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-\-label-prefix=<prefix for assembly language labels>"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-I<include path>"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-D<macro>[=defn]"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-U<macro>"
|
|
|
|
.SH "ARCHITECTURE-SPECIFIC COMPILER OPTIONS"
|
|
|
|
.B "\-mmmx"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-mno-mmx"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-msse"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-mno-sse"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-mnoop-copy"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-mno-noop-copy"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-mcpu=i386"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-mcpu=p2"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-mcpu=p3"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-mcpu=p4"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-mcpu=k7"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-mcpu=k8"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-mcpu=c3"
|
2006-09-21 15:09:22 +02:00
|
|
|
.TP
|
2006-09-08 19:44:42 +02:00
|
|
|
.B "\-mcpu=c3-2"
|
|
|
|
.SH BUGS
|
|
|
|
Please report any bugs to Eric W. Biederman <ebiederman@lnxi.com>.
|
|
|
|
.SH LICENCE
|
|
|
|
.B romcc
|
|
|
|
is covered by the GNU General Public License (GPL), version 2.
|
|
|
|
.SH SEE ALSO
|
2006-09-21 15:09:22 +02:00
|
|
|
.BR flashrom (1),
|
|
|
|
.BR abuild (1).
|
2006-09-08 19:44:42 +02:00
|
|
|
.SH COPYRIGHT
|
|
|
|
2003-2006 Eric W. Biederman
|
|
|
|
.SH AUTHORS
|
|
|
|
Eric W. Biederman <ebiederman@lnxi.com>
|
|
|
|
.br
|
|
|
|
Some contributions by others.
|
|
|
|
.PP
|
|
|
|
This manual page was written by Uwe Hermann <uwe@hermann-uwe.de>.
|
2006-09-21 15:09:22 +02:00
|
|
|
It is licensed under the terms of the GNU GPL (v2 or later).
|