- Architecture(Builder &b, const std::string &n, bool a=false);
- void set_tool(const std::string &t, const std::string &p);
- std::string get_tool(const std::string &t) const;
+ typedef std::list<Pattern> PatternList;
+
+private:
+ Builder &builder;
+ std::string type;
+ std::string cpu;
+ std::string system;
+ unsigned bits;
+ std::string name;
+ bool native;
+ std::string cross_prefix;
+ PatternList sharedlib_patterns;
+ PatternList staticlib_patterns;
+ PatternList executable_patterns;
+
+public:
+ Architecture(Builder &b, const std::string &spec);
+