• Home
  • Raw
  • Download

Lines Matching refs:cmd

46   std::string cmd("echo ");  in cleanupPost()  local
48 cmd += "0"; in cleanupPost()
50 cmd += "255"; in cleanupPost()
51 cmd += " > " + mWorkingDir + "/compile_result"; in cleanupPost()
52 runCmd(cmd); in cleanupPost()
55 cmd = "rm -f " + mWorkingDir + "/compile_log"; in cleanupPost()
56 runCmd(cmd); in cleanupPost()
58 cmd = "chmod 0755 " + mWorkingDir + "/*"; in cleanupPost()
59 runCmd(cmd); in cleanupPost()
156 std::string cmd = "rm -f " + *i; in getBitcodeFiles() local
157 runCmd(cmd.c_str()); in getBitcodeFiles()
174 std::string cmd = std::string("LD_LIBRARY_PATH=") + mSysroot + "/usr/lib"; in prepareToolchain() local
175 cmd += " " + mSysroot + "/usr/bin/le32-none-ndk-translate"; in prepareToolchain()
176 mExecutableToolsPath[(unsigned)CMD_TRANSLATE] = cmd; in prepareToolchain()
179 cmd = std::string("LD_LIBRARY_PATH=") + mSysroot + "/usr/lib"; in prepareToolchain()
180 cmd += " " + mSysroot + "/usr/bin/llc"; in prepareToolchain()
184 cmd += " -thread=" + stream.str(); in prepareToolchain()
186 mExecutableToolsPath[(unsigned)CMD_COMPILE] = cmd; in prepareToolchain()
189 cmd = std::string("LD_LIBRARY_PATH=") + mSysroot + "/usr/lib"; in prepareToolchain()
190 cmd += " " + mSysroot + "/usr/bin/ld.mcld"; in prepareToolchain()
191 cmd += " -L" + mWorkingDir; in prepareToolchain()
192 cmd += " -L" + mSysroot + "/usr/lib"; in prepareToolchain()
193 cmd += " -L/system/lib"; in prepareToolchain()
194 mExecutableToolsPath[(unsigned)CMD_LINK] = cmd; in prepareToolchain()
196 cmd = " @" + mSysroot + "/usr/lib/libportable.wrap " + mSysroot + "/usr/lib/libportable.a"; in prepareToolchain()
197 cmd += " " + mSysroot + "/usr/lib/libcompiler_rt_static.a"; in prepareToolchain()
198 cmd += " " + mSysroot + "/usr/lib/libgccunwind.a"; in prepareToolchain()
199 cmd += " -ldl"; in prepareToolchain()
200 mExecutableToolsPath[(unsigned)CMD_LINK_RUNTIME] = cmd; in prepareToolchain()