summaryrefslogtreecommitdiff
path: root/rld-cc.h
diff options
context:
space:
mode:
Diffstat (limited to 'rld-cc.h')
-rw-r--r--rld-cc.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/rld-cc.h b/rld-cc.h
index a16bd3e..6c200d2 100644
--- a/rld-cc.h
+++ b/rld-cc.h
@@ -121,6 +121,21 @@ namespace rld
bool is_cc_set ();
/**
+ * Set LD. The exec-prefix is ignored if this is set.
+ */
+ void set_ld (const std::string& ld);
+
+ /**
+ * Get the LD.
+ */
+ const std::string get_ld ();
+
+ /**
+ * Is the LD set ?
+ */
+ bool is_ld_set ();
+
+ /**
* Set the exec-prefix. If CC is set the exec-prefix is ignored.
*/
void set_exec_prefix (const std::string& exec_prefix);
@@ -178,6 +193,11 @@ namespace rld
void make_cc_command (rld::process::arg_container& args);
/**
+ * Make a LD command from the set arguments.
+ */
+ void make_ld_command (rld::process::arg_container& args);
+
+ /**
* Get the standard libraries paths from the compiler.
*/
void get_standard_libpaths (rld::path::paths& libpaths);