]> git.tdb.fi Git - builder.git/blobdiff - source/gnucompiler.h
Move version discovery back to GnuCompiler
[builder.git] / source / gnucompiler.h
index 307aa5ee4115921357ba033b4ceb6437f3c0202a..9f5386d13a856df90a0a777f0a9cb94a802f3e4c 100644 (file)
@@ -12,6 +12,9 @@ appropriate type.
 */
 class GnuCompiler: public Tool
 {
+protected:
+       unsigned version;
+
 public:
        GnuCompiler(Builder &, const Architecture &, const std::string &);
 
@@ -21,6 +24,9 @@ public:
        virtual std::string create_build_signature(const BuildInfo &) const;
 protected:
        virtual void do_prepare();
+       void prepare_syspath();
+       void prepare_version();
+       void prepare_version(const std::string &);
 public:
        virtual Task *run(const Target &) const;
 };