www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - ldc new feature

reply bioinfornatics <bioinfornatics fedoraproject.rog> writes:
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
Dec 08 2011
next sibling parent Jacob Carlborg <doob me.com> writes:
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
Dec 08 2011
prev sibling next sibling parent Andrei Alexandrescu <SeeWebsiteForEmail erdani.org> writes:
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
Dec 08 2011
prev sibling parent reply Ellery Newcomer <ellery-newcomer utulsa.edu> writes:
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?
Dec 08 2011
parent bioinfornatics <bioinfornatics fedoraproject.rog> writes:
Le jeudi 08 d=C3=A9cembre 2011 =C3=A0 21:55 -0600, Ellery Newcomer a =C3=A9=
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
=20
 $ ldc2 test.d -oftestd.so -shared
=20
 or
=20
 $ ldc2 -c test1.d test2.d
 $ ld -r test1.o test2.o -o merged.o
 $ ldc2 merged.o -oftestd.so -shared
=20
=20 very nice. =20 will this find its way into fedora repo?
yes this new version will go to Fedora 17 =3D> 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=3D273732
Dec 08 2011