<div dir="ltr">can you show the actual command & it's exact output? I'm guessing you've got a -c (or -S, etc) in there somewhere, perhaps?</div><br><div class="gmail_quote"><div dir="ltr">On Wed, Jan 24, 2018 at 12:08 AM Sameer Joshi via cfe-users <<a href="mailto:cfe-users@lists.llvm.org">cfe-users@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>I am compiling multiple source files and trying to generate one executable out of it and getting following error:</div><div><br></div><div>"cannot specify -o when generating multiple output files"<br></div><div><br></div><div>The command is like following:</div><div><br></div><div>$ clang++ exec_1.bin 1.cpp 2.cpp. 3.cpp</div><div><br></div><div>Please let me know how to solve this issue.</div><div><br></div><div>Regards,</div><div><br></div><div>Sameer Joshi </div></div>
_______________________________________________<br>
cfe-users mailing list<br>
<a href="mailto:cfe-users@lists.llvm.org" target="_blank">cfe-users@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users</a><br>
</blockquote></div>