ldc new feature
Jacob Carlborg
doob at me.com
Thu Dec 8 06:10:02 PST 2011
On 2011-12-08 13:52, bioinfornatics wrote:
> Dear,
> I am pleased to announce the new features. LDC is now offering the
> flag-shared-lib and libraries to create static and dynamic. The latest
> version of ldc works with llvm 3.0 and uses dmdfe 2056. The project ldc
> sees increased the number of contributors, the team ldc thank each of
> you for your help and feedback. Feel free to contribute to the project.
> A big thank you and sokol klickverbot for their excellent work
>
> $ ldc2 test.d -oftestd.so -shared
>
> or
>
> $ ldc2 -c test1.d test2.d
> $ ld -r test1.o test2.o -o merged.o
> $ ldc2 merged.o -oftestd.so -shared
DMD already has the -dylib flag for generating dynamic libraries. It's
currently only enabled on Mac OS X.
--
/Jacob Carlborg
More information about the Digitalmars-d-announce
mailing list