--- /dev/null
+#include "clanglinker.h"
+
+ClangLinker::ClangLinker(Builder &b, const Architecture &a):
+ CustomizedTool(b, "LINK", a)
+{
+ set_command("clang", true);
+}
--- /dev/null
+#ifndef CLANGLINKER_H_
+#define CLANGLINKER_H_
+
+#include "customizedtool.h"
+
+class ClangLinker: public CustomizedTool
+{
+public:
+ ClangLinker(Builder &, const Architecture &);
+};
+
+#endif
-#include "builder.h"
+#include "architecture.h"
#include "clangcompiler.h"
+#include "clanglinker.h"
#include "clangtools.h"
-#include "gnuarchiver.h"
-#include "gnulinker.h"
using namespace std;
add_tool(new ClangCompiler(builder, arch, "CXX"));
add_tool(new ClangCompiler(builder, arch, "OBJC"));
- add_tool(new GnuLinker(builder, arch));
- add_tool(new GnuArchiver(builder, arch));
+ add_tool(new ClangLinker(builder, arch));
}
int ClangTools::get_priority(const Architecture &arch)