Scroll to navigation

ROMCC(1) General Commands Manual ROMCC(1)

NAME

romcc - compile C programs into binaries that don't use any RAM

SYNOPSIS

romcc [OPTIONS] <source>.c

DESCRIPTION

romcc is a C compiler which produces binaries which do not rely on RAM, but instead only use CPU registers.

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 used for other purposes, too.

OPTIONS

Output file name.
Specify a generic compiler option.
Specify an architecture-dependent compiler option.
--
Specify that this is the last option.

GENERIC COMPILER OPTIONS

-O

ARCHITECTURE-SPECIFIC COMPILER OPTIONS

-mmmx

BUGS

Please report any bugs to https://ticket.coreboot.org/projects/coreboot or the coreboot mailing list at <coreboot@coreboot.org>.

LICENCE

romcc is covered by the GNU General Public License (GPL), version 2.

SEE ALSO

flashrom(1), abuild(1).

COPYRIGHT

2003-2006 Eric W. Biederman

AUTHORS

Eric W. Biederman <ebiederman@lnxi.com>
Some contributions by others.

This manual page was written by Uwe Hermann <uwe@hermann-uwe.de>. It is licensed under the terms of the GNU GPL (v2 or later).

September 19, 2006