summaryrefslogtreecommitdiff
path: root/rld-cc.h
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2014-09-08 16:06:48 +1000
committerChris Johns <chrisj@rtems.org>2014-09-08 16:06:48 +1000
commit52d988128d5014002b0431f7d4f5de0ff50f92a9 (patch)
treee8101d9dd4926db4077413fecbaa18f490c5e26b /rld-cc.h
parent4c9a892d009c5b8f1952cf3450dda32148af887e (diff)
RTEMS trace linker builds trace applications.
The trace linker builds the both_hello example in examples-v2. Move the various string support functions into a C++ file and stop being inlined. Make them return const std::string. Add ld support to rld-cc. Add search path support to rld-config so installed common files can be used. Fix the path bugs. Add an absolute path function to rld-path.
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);