Сергей Волкович via llvm-dev
2021-Jun-22 15:26 UTC
[llvm-dev] Porting llvm/clang to custom OS.
Hello. Recently i become to develop my own posix compilant OS, and as primary compiler selected clang. But i cannot understand which files me need to edit to add support for my target. P. S. My OS using ELF format exequtables. Any help will wery welcome. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20210622/b6eec58a/attachment.html>
Michael Kruse via llvm-dev
2021-Jun-22 20:56 UTC
[llvm-dev] Porting llvm/clang to custom OS.
You may need/want to add your OS to https://github.com/llvm/llvm-project/blob/e3b2f1b6823f4f06da222545857809e6ee7962b6/llvm/include/llvm/ADT/Triple.h#L164 and customize everything that uses it. Michael Am Di., 22. Juni 2021 um 14:43 Uhr schrieb Сергей Волкович via llvm-dev <llvm-dev at lists.llvm.org>:> > Hello. > Recently i become to develop my own posix compilant OS, and as primary compiler selected clang. > But i cannot understand which files me need to edit to add support for my target. > P. S. My OS using ELF format exequtables. > Any help will wery welcome. > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev