diff options
author | Chris Johns <chrisj@rtems.org> | 2014-09-06 20:19:45 +1000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2014-09-06 20:19:45 +1000 |
commit | 0e448a4e8eff2f433f10309c8c832faa5adf4b94 (patch) | |
tree | 6a98a5b20ffd2bc8dc2d8ae0292c6b772234676b /rld-process.cpp | |
parent | 82775e9e7006f2a66d900f7a99699788bfd5cd18 (diff) |
Refactor the CC flags. Fix the various linkers. The trace linker is compiling.
Diffstat (limited to 'rld-process.cpp')
-rw-r--r-- | rld-process.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/rld-process.cpp b/rld-process.cpp index bb2f8a4..2174cce 100644 --- a/rld-process.cpp +++ b/rld-process.cpp @@ -88,6 +88,10 @@ namespace rld std::string name = temp; + name = rld::find_replace (name, + RLD_PATH_SEPARATOR_STR RLD_PATH_SEPARATOR_STR, + RLD_PATH_SEPARATOR_STR); + tempfiles.push_back (name); return name; @@ -334,6 +338,19 @@ namespace rld temporaries.clean_up (); } + void + args_append (arg_container& args, const std::string& str) + { + rld::strings ss; + rld::split (ss, str); + for (rld::strings::iterator ssi = ss.begin (); + ssi != ss.end (); + ++ssi) + { + args.push_back (*ssi); + } + } + status execute (const std::string& pname, const std::string& command, |