<div class="gmail_quote"><br><div>Hi all,</div><div><br></div><div>I am in the process of developing a installer utility for ARM target which can compile any source files to ARM native executable. This installer utility should be present on target itself (whether this is feasible or not?). For achieving this i compiled llvm with clang for target. I copied the binaries to target and when it tried to compile a sample c code i am getting the following error. </div>


<div><br></div><div><br><i># ../bin/clang hello.c <br>clang: warning: not using the clang compiler for the 'arm' architecture<br>clang: error: unable to make temporary file: /tmp/cc: can't make unique filename: No such file or directory<br>


clang: error: unable to make temporary file: /tmp/cc: can't make unique filename: No such file or directory<br># </i></div><div><br></div><div>my target device doesnot hav /tmp and it doesnot have write permission for creating any directory on root "/". is there anyway to tell clang to create temporary files in some other location other than "/tmp" ? can anyone help me in resolving this issue? pls let me know in case if any more information is required.</div>


<div><br></div><div>pls let me know how can i resolve this issues. the target details are </div><div>target arch : arm</div><div>target cpu : arm1136jf-s</div><div><br>

<br></div><div>Thanks and Regards,<br clear="all">Prasanth J<br><br><br><br>
</div>
</div><br>