<div dir="ltr">Well i what simple to create desktop application that creates small executable ( multimedia files ) . <br>i was looking for solution to compile from code . then i found clang.<br>this application will not be open source and i will like to sell it in some point . <br>
<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Feb 20, 2014 at 11:33 PM, Nikola Smiljanic <span dir="ltr"><<a href="mailto:popizdeh@gmail.com" target="_blank">popizdeh@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">What exactly are you trying to do? Compiling code into executable file sounded like you wanted to use clang as a compiler. As far as the linker goes, clang can use Visual Studio's link.exe but I'm not sure if this combo is production ready...</div>
<div class="HOEnZb"><div class="h5">

<div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Feb 21, 2014 at 8:29 AM, Meir Yanovich <span dir="ltr"><<a href="mailto:meiry242@gmail.com" target="_blank">meiry242@gmail.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">you mean i cant use clang API , i do need to make it via CMD call ?<br>about the linker this is very sad , i need it to be with free ( none GPL ) linker , i think mingw is GPL .<br>


is there any alternatives to none GPL linker  ?</div><div><div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Feb 20, 2014 at 10:25 PM, Nikola Smiljanic <span dir="ltr"><<a href="mailto:popizdeh@gmail.com" target="_blank">popizdeh@gmail.com</a>></span> wrote:<br>



<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">1. I think that passing a dash as the filename will get clang to read from the standard input, you'll also have to specify the language with -x.<div>



<br></div><div>clang -x c++ -</div><div><br></div><div>

2. Driver forwards all -l flags to the linker but you do have to have a linker (be it Visual Studio, mingw or something else).</div><div><br></div><div>clang -lcUrl.lib</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">



<div><div>

On Thu, Feb 20, 2014 at 6:17 PM, Meir Yanovich <span dir="ltr"><<a href="mailto:meiry242@gmail.com" target="_blank">meiry242@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div><div>

<div dir="ltr">Hello list <br>i have few small questions about clang hope you could help <div><br>1. can clang get input in memory  c++ code and compile it to executable ? , i know it can load c++ file <br>but i like to be able to dynamically build the source file , <div>






if not is there any other way to build logic in memory and then compile it ? <br><br></div><div>2. i like to work with c++ source code that is compiled to executable also <br>i like to link static lib's to the source code , <br>






for example :</div><div>build curl simple client . so the client will be build in memory and then it will be linked to <br>cUrl.lib </div><div>i dont what to be dependent on Visual studio linker . what should i do ? <br>





<br>
Thanks for your help </div><div><br></div></div></div>
<br></div></div>_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu" target="_blank">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>