Go to the documentation of this file.
17 #define EX_SOFTWARE 70
82 const std::list<std::string> &values=
85 for(std::list<std::string>::const_iterator
94 const std::list<std::string> &values=
97 for(std::list<std::string>::const_iterator
138 std::list<std::string>::iterator it;
140 std::cout <<
"Defines:\n";
145 std::cout <<
" " << (*it) <<
'\n';
148 std::cout <<
"Undefines:\n";
153 std::cout <<
" " << (*it) <<
'\n';
156 std::cout <<
"Preprocessor Options:\n";
161 std::cout <<
" " << (*it) <<
'\n';
164 std::cout <<
"Include Paths:\n";
169 std::cout <<
" " << (*it) <<
'\n';
172 std::cout <<
"Library Paths:\n";
177 std::cout <<
" " << (*it) <<
'\n';
180 std::cout <<
"Output file (object): "
182 std::cout <<
"Output file (executable): "
187 return compiler.
doit() ? EX_USAGE : EX_OK;
193 std::cout <<
"goto-armcc understands the options "
194 <<
"of armcc plus the following.\n\n";
Class that provides messages with a built-in verbosity 'level'.
std::list< std::string > defines
virtual bool isset(char option) const
std::size_t wchar_t_width
std::list< std::string > include_paths
bool doit()
reads and source and object files, compiles and links them into goto program objects.
const std::string base_name
std::list< std::string > undefines
struct configt::ansi_ct ansi_c
void help_mode() final
display command line help
std::string output_file_object
bool has_prefix(const std::string &s, const std::string &prefix)
@ COMPILE_LINK_EXECUTABLE
std::string output_file_executable
std::string get_value(char option) const
std::list< std::string > library_paths
std::string object_file_extension
std::list< std::string > preprocessor_options
bool set(const cmdlinet &cmdline)
gcc_message_handlert message_handler
void help()
display command line help
static unsigned eval_verbosity(const std::string &user_input, const message_levelt default_verbosity, message_handlert &dest)
Parse a (user-)provided string as a verbosity level and set it as the verbosity of dest.
const std::list< std::string > & get_values(const std::string &option) const