17 #define EX_SOFTWARE 70
79 const std::list<std::string> &values=
82 for(std::list<std::string>::const_iterator
91 const std::list<std::string> &values=
94 for(std::list<std::string>::const_iterator
103 compiler.object_file_extension=
106 compiler.object_file_extension=
"o";
129 compiler.output_file_object=
"";
130 compiler.output_file_executable=
"a.out";
135 std::list<std::string>::iterator it;
137 std::cout <<
"Defines:\n";
142 std::cout <<
" " << (*it) <<
'\n';
145 std::cout <<
"Undefines:\n";
150 std::cout <<
" " << (*it) <<
'\n';
153 std::cout <<
"Preprocessor Options:\n";
158 std::cout <<
" " << (*it) <<
'\n';
161 std::cout <<
"Include Paths:\n";
166 std::cout <<
" " << (*it) <<
'\n';
169 std::cout <<
"Library Paths:\n";
170 for(it=compiler.library_paths.begin();
171 it!=compiler.library_paths.end();
174 std::cout <<
" " << (*it) <<
'\n';
177 std::cout <<
"Output file (object): "
178 << compiler.output_file_object <<
'\n';
179 std::cout <<
"Output file (executable): "
180 << compiler.output_file_executable <<
'\n';
184 return compiler.doit() ? EX_USAGE : EX_OK;
190 std::cout <<
"goto-armcc understands the options "
191 <<
"of armcc plus the following.\n\n";