]> git.tdb.fi Git - builder.git/blobdiff - source/architecture.h
Pass a tool hint to VirtualFileSystem::find_header
[builder.git] / source / architecture.h
index c322c3a580d23d7a676295295c20efc7fbc02e0f..4db809f19f3cbf0ef33e6706b8cc1bedae5f0619 100644 (file)
@@ -7,7 +7,10 @@
 
 class Builder;
 
-// XXX Add lib/exe prefix/suffix fields.  Some archs may need multiple alternatives, how to handle this?
+/**
+Stores information about an architecture.  This includes CPU type, model and
+bitness and operating system.
+*/
 class Architecture
 {
 public:
@@ -43,7 +46,6 @@ public:
        bool is_native() const { return native; }
        bool is_cross() const { return !cross_prefix.empty(); }
 
-       void set_cross_prefix(const std::string &);
        const std::string &get_cross_prefix() const { return cross_prefix; }
 
        const PatternList &get_shared_library_patterns() const { return sharedlib_patterns; }
@@ -55,6 +57,4 @@ private:
        void parse_specification(const std::string &);
 };
 
-typedef std::map<std::string, Architecture> ArchMap;
-
 #endif