]> git.tdb.fi Git - builder.git/blobdiff - source/gnucompiler.h
Refactor version discovery into the base GnuCompiler class
[builder.git] / source / gnucompiler.h
index 0c283e22827ac3f1afa05bdd4f6302bb032bd99d..9f0304d82daa0408c4ae3817b36d7b828a5d4ee7 100644 (file)
@@ -12,11 +12,10 @@ appropriate type.
 */
 class GnuCompiler: public Tool
 {
-private:
-       std::string command;
-
 protected:
-       GnuCompiler(Builder &, const Architecture &, const std::string &, const std::string &);
+       std::string version;
+
+       GnuCompiler(Builder &, const Architecture &, const std::string &);
 
 public:
        virtual Target *create_target(const std::list<Target *> &, const std::string &);