using namespace std;
using namespace Msp;
-GnuCCompiler::GnuCCompiler(Builder &b):
- GnuCompiler(b, "CC", "gcc")
+GnuCCompiler::GnuCCompiler(Builder &b, const Architecture &a):
+ GnuCompiler(b, a, "CC")
{
+ set_command("gcc", true);
input_suffixes.push_back(".c");
aux_suffixes.push_back(".h");
}
{
return new CSourceFile(builder, comp, path);
}
+
+Target *GnuCCompiler::create_source(const FS::Path &path) const
+{
+ return new CSourceFile(builder, path);
+}