[LLVMdev] LLVM-C headers: create native library

Reid Kleckner reid.kleckner at gmail.com
Tue Jul 6 20:35:51 PDT 2010


Aside from using the C API, you cannot create dynamic libraries with
LLVM.  For that you need a linker.  LLVM generates assembly files (.s)
and very soon it will generate object files natively (.o).

The clang driver generally uses an installed gcc to do the assemble
and link steps at the moment.

Reid

On Tue, Jul 6, 2010 at 7:51 AM, F van der Meeren
<llvm-dev at code2develop.com> wrote:
> Hi,
>
> Is it possible to create a .dll / .so / .dylib by only using the LLVM-C headers ?
> If so, I cannot find it.
>
> Filip
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>




More information about the llvm-dev mailing list