[cfe-users] Regarding issue with compilation of multiple source files

Sameer Joshi via cfe-users cfe-users at lists.llvm.org
Wed Jan 24 00:07:50 PST 2018


I am compiling multiple source files and trying to generate one executable
out of it and getting following error:

"cannot specify -o when generating multiple output files"

The command is like following:

$ clang++ exec_1.bin 1.cpp 2.cpp. 3.cpp

Please let me know how to solve this issue.


Sameer Joshi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-users/attachments/20180124/e15090f1/attachment.html>

More information about the cfe-users mailing list