porting LLVM
Posted: Sat Jun 18, 2016 6:56 am
Hi,
I see that quite a few members here have had success porting gcc to there own operating systems.
I was wondering if anyone has been able to port LLVM and or Clang ? I have found this page (http://wiki.osdev.org/User:MessiahAndrw ... _Toolchain) on the wiki but obviously the section I would be interested in has not been written yet.
I have been working for the last few months on my own C compiler, the idea being that I would be able to use it to develop my kernel and userspace. However I have recently become a little bit more perceptive to the idea of using LLVM and or clang.
My thinking around the design of my OS is evolving and I think I would like to experiment a bit with language design - I have not decided yet exactly what the best course of action is.
I may decide to use my existing C front-end on top of LLVM or I am toying with the idea of designing a new language again using LLVM as a backend.
It would be very helpful to my though processes if someone could provide any information they have regarding porting LLVM to a new OS. Any information on porting clang would also be good.
Ultimately I want my os to be self hosting so If I choose LLVM I’ll have to port clang at some point so that I can build LLVM.
Thanks!
I see that quite a few members here have had success porting gcc to there own operating systems.
I was wondering if anyone has been able to port LLVM and or Clang ? I have found this page (http://wiki.osdev.org/User:MessiahAndrw ... _Toolchain) on the wiki but obviously the section I would be interested in has not been written yet.
I have been working for the last few months on my own C compiler, the idea being that I would be able to use it to develop my kernel and userspace. However I have recently become a little bit more perceptive to the idea of using LLVM and or clang.
My thinking around the design of my OS is evolving and I think I would like to experiment a bit with language design - I have not decided yet exactly what the best course of action is.
I may decide to use my existing C front-end on top of LLVM or I am toying with the idea of designing a new language again using LLVM as a backend.
It would be very helpful to my though processes if someone could provide any information they have regarding porting LLVM to a new OS. Any information on porting clang would also be good.
Ultimately I want my os to be self hosting so If I choose LLVM I’ll have to port clang at some point so that I can build LLVM.
Thanks!