Thread overview
ldc new feature
Dec 08, 2011
bioinfornatics
Dec 08, 2011
Jacob Carlborg
Dec 09, 2011
Ellery Newcomer
Dec 09, 2011
bioinfornatics
December 08, 2011
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

December 08, 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
December 08, 2011
On 12/8/11 6:52 AM, 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
>

Cool! Tweeted.

Andrei
December 09, 2011
On 12/08/2011 06:52 AM, 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
> 

very nice.

will this find its way into fedora repo?
December 09, 2011
Le jeudi 08 décembre 2011 à 21:55 -0600, Ellery Newcomer a écrit :
> On 12/08/2011 06:52 AM, 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
> > 
> 
> very nice.
> 
> will this find its way into fedora repo?

yes this new version will go to Fedora 17 => http://fedoraproject.org/wiki/Features/F17_D2_programming

ldc2 is already available for F17

if you want use it on fedora 16 you should install:
 - llvm-devel-3.0
 - llvm-libs-3.0
 - llvm-3.0
 - mesa-dri-drivers
from koji.fedoraproject.org/koji/buildinfo?buildID=273732