81 config.
ansi_c.preprocessor_options.push_back(
"-nostdinc");
100 compiler.output_file_executable=
"a.out";
105 const std::list<std::string> &values=
108 for(std::list<std::string>::const_iterator
112 config.
ansi_c.preprocessor_options.push_back(
"-Wp,"+*it);
117 const std::list<std::string> &values=
120 for(std::list<std::string>::const_iterator
124 config.
ansi_c.preprocessor_options.push_back(
"-isystem "+*it);
129 std::list<std::string>::iterator it;
131 std::cout <<
"Defines:\n";
136 std::cout <<
" " << (*it) <<
'\n';
139 std::cout <<
"Undefines:\n";
144 std::cout <<
" " << (*it) <<
'\n';
147 std::cout <<
"Preprocessor Options:\n";
152 std::cout <<
" " << (*it) <<
'\n';
155 std::cout <<
"Include Paths:\n";
160 std::cout <<
" " << (*it) <<
'\n';
163 std::cout <<
"Library Paths:\n";
164 for(it=
compiler.library_paths.begin();
168 std::cout <<
" " << (*it) <<
'\n';
171 std::cout <<
"Output file (object): "
172 <<
compiler.output_file_object <<
'\n';
173 std::cout <<
"Output file (executable): "
174 <<
compiler.output_file_executable <<
'\n';
184 std::cout <<
"goto-cw understands the options of "
185 <<
"gcc (mwcc mode) plus the following.\n\n";
virtual void clear()
Reset the abstract state.
ait supplies three of the four components needed: an abstract interpreter (in this case handling func...
std::string get_value(char option) const
virtual bool isset(char option) const
const std::list< std::string > & get_values(const std::string &option) const
@ COMPILE_LINK_EXECUTABLE
bool set(const cmdlinet &cmdline)
struct configt::ansi_ct ansi_c
virtual int doit()
does it.
console_message_handlert message_handler
virtual void help_mode()
display command line help
const std::string base_name
void help()
display command line help
Class that provides messages with a built-in verbosity 'level'.
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.
Compile and link source and object files.
bool has_prefix(const std::string &s, const std::string &prefix)
Base class for command line interpretation.