I am thinking as most of my development depend on clang (LOVE it's beautiful debug output and fix-it) so I am thinking is using LLVM userland libraries a good idea? (It is known to be good on OS X, as Apple dropped libstdc++ on OS X 10.9 and symlinked it to libc++)
Components include:
* newlib libc (LLVM does not have a libc though)
* libc++rt C++ runtime library,
* libc++ C++ standard library (C++11 feature complete)
Also, since my init is in Objective-C, those are required too:
* libobjc2+libGNUObjCRuntime (GNUstep Objective-C 2.0 runtime, as init requires it)
* libgnustep-base (GNUstep's clone of Apple's Foundation Kit, as init requires it)
LLVM userland libraries: yes or no?
Re: LLVM userland libraries: yes or no?
Didn't get your question.
If you want to use those libraries, use them. If you don't then don't.
You will still need to do a bit of porting to your platform.
I'm using libc++ myself, although I have disabled all iostreams functionality (not necessary in the kernel and needs some porting before it can be used).
If you want to use those libraries, use them. If you don't then don't.
You will still need to do a bit of porting to your platform.
I'm using libc++ myself, although I have disabled all iostreams functionality (not necessary in the kernel and needs some porting before it can be used).
Learn to read.
-
- Member
- Posts: 92
- Joined: Tue Aug 14, 2012 8:51 am
Re: LLVM userland libraries: yes or no?
In terms of design or implementation ?
- Owen
- Member
- Posts: 1700
- Joined: Fri Jun 13, 2008 3:21 pm
- Location: Cambridge, United Kingdom
- Contact:
Re: LLVM userland libraries: yes or no?
No they didn't. They have different ABIs. Doing that would break every C++ app not compiled against libc++.technix wrote:(It is known to be good on OS X, as Apple dropped libstdc++ on OS X 10.9 and symlinked it to libc++)
libc++ is just now the default (and by far most complete, because Mac OS X will forever be stuck at libstdc++ 4.2)