X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgnulinker.h;h=8c380c85ae9beb95c02c1c68645a1b580458c85d;hb=4cc08a580ddcdc025d2ca23c336e76c11414d8e0;hp=673056e9c9b878c3d425c8815212d859de97cfcc;hpb=25a315f3cb5805614c513ac762ea1bd512ce82cb;p=builder.git diff --git a/source/gnulinker.h b/source/gnulinker.h index 673056e..8c380c8 100644 --- a/source/gnulinker.h +++ b/source/gnulinker.h @@ -3,6 +3,13 @@ #include "tool.h" +/** +The GNU linker. Turns ObjectFiles into Executables and SharedLibraries. To +create a shared library, specify "shared" as the second argument to +create_target. + +Uses either gcc or g++ depending on what was used to compile the object files. +*/ class GnuLinker: public Tool { private: @@ -12,6 +19,7 @@ private: Linker(GnuLinker &, const std::string &); virtual Target *create_target(const std::list &, const std::string &) const; + virtual std::string create_build_signature(const BuildInfo &) const; virtual Task *run(const Target &) const; };