Marcus Johnson via llvm-dev
2018-Aug-27 11:26 UTC
[llvm-dev] [cfe-dev] [7.0.0 Release] rc2 has been tagged
I'm just curious why you don't plan on using dlls? Xcode ships with libclang as a dylib, i wouldnt think windows would be a big leap? On Monday, August 27, 2018, Hans Wennborg <hans at chromium.org> wrote:> On Sat, Aug 25, 2018 at 12:03 AM, Marcus Johnson > <bumblebritches57 at gmail.com> wrote: > >> Don't forget to compile (everything if possible, but especially LLVM) > as a > >> shared library on Windows. > > > > the installed toolchain is about 10 times bigger than the executable, > > because the static library is being compressed, which means on disk it's > > taking up far more space than it needs. > > If we had a way of building e.g. at least LLVM as a dll, maybe we > could do this, but currently the binaries are all statically linked > and there is no plan to change this. >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180827/2f8f27b9/attachment.html>
Hans Wennborg via llvm-dev
2018-Aug-27 11:41 UTC
[llvm-dev] [cfe-dev] [7.0.0 Release] rc2 has been tagged
That libclang dylib just implements an interface used for source code indexing and such (https://clang.llvm.org/doxygen/group__CINDEX.html). It's not used by the clang binary. On Mon, Aug 27, 2018 at 1:26 PM, Marcus Johnson <bumblebritches57 at gmail.com> wrote:> I'm just curious why you don't plan on using dlls? Xcode ships with libclang > as a dylib, i wouldnt think windows would be a big leap? > > > On Monday, August 27, 2018, Hans Wennborg <hans at chromium.org> wrote: >> >> On Sat, Aug 25, 2018 at 12:03 AM, Marcus Johnson >> <bumblebritches57 at gmail.com> wrote: >> >> Don't forget to compile (everything if possible, but especially LLVM) >> >> as a >> >> shared library on Windows. >> > >> > the installed toolchain is about 10 times bigger than the executable, >> > because the static library is being compressed, which means on disk it's >> > taking up far more space than it needs. >> >> If we had a way of building e.g. at least LLVM as a dll, maybe we >> could do this, but currently the binaries are all statically linked >> and there is no plan to change this.