diff options
author | Chris Johns <chrisj@rtems.org> | 2014-09-08 16:06:48 +1000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2014-09-08 16:06:48 +1000 |
commit | 52d988128d5014002b0431f7d4f5de0ff50f92a9 (patch) | |
tree | e8101d9dd4926db4077413fecbaa18f490c5e26b /rld-cc.h | |
parent | 4c9a892d009c5b8f1952cf3450dda32148af887e (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.h | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -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); |