X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Farchitecture.h;h=4db809f19f3cbf0ef33e6706b8cc1bedae5f0619;hb=5ed38947b3fabd977a7f68b512115fe1456ea096;hp=c322c3a580d23d7a676295295c20efc7fbc02e0f;hpb=c51884994862b02613c2c0ae75b1f8d39e0f1ee5;p=builder.git diff --git a/source/architecture.h b/source/architecture.h index c322c3a..4db809f 100644 --- a/source/architecture.h +++ b/source/architecture.h @@ -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 ArchMap; - #endif