Re: LDC 0.12.1 has been released

2013-12-04 Thread Rory McGuire
Okay thanks, I guess its easy enough for me to just change my command.

Actually I guess I'll just make a new setup for ldc. Would have been nice
to treat them as the same command line interface so I didn't have to change
anything. :) easy enough to just start typing ldc instead of dmd.



On Tue, Dec 3, 2013 at 12:21 PM, Kai Nacke k...@redstar.de wrote:

 Hi Rory!


 On Tuesday, 3 December 2013 at 09:00:25 UTC, Rory McGuire wrote:

 Nice. Any chance that the packages are able to have a similar layout to
 dmd?


 The binary packages follow the simple pattern that you can extract them
 into /opt, add the path to the bin folder and start using LDC.

 The important piece of information is etc/ldc2.conf. You can rearrange
 even the binary package as you want as long as you keep ldc2.conf in sync.

 So, yes, the packages can be arranged in a similar layout to dmd. A simple
 shell script should be able to do this.

 Regards,
 Kai



Re: LDC 0.12.1 has been released

2013-12-03 Thread Rory McGuire
On Mon, Dec 2, 2013 at 9:02 AM, Kai Nacke k...@redstar.de wrote:

 Hi everyone,

 LDC 0.12.1, the LLVM-based D compiler, is available for download!
 This is a bug-fix only release. It is built on the 2.063.2 frontend and
 standard library and supports LLVM 3.1-3.3 (OS X: 3.2 only).

 As usual, you can find links to the changelog and the binary packages over
 at digitalmars.D.ldc:
 http://forum.dlang.org/post/fmhdagtwppcpkajgr...@forum.dlang.org

 Regards,
 Kai


Nice. Any chance that the packages are able to have a similar layout to dmd?
I use this command line to add each dmd as an alternative in Ubuntu would
be nice to add ldc as an option.

update-alternatives --install /usr/bin/dmd dmd
/usr/lib/dmd/dmd-2063/dmd2/linux/bin64/dmd 2 --slave /usr/bin/rdmd rdmd
/usr/lib/dmd/dmd-2063/dmd2/linux/bin64/rdmd --slave /usr/bin/dman dman
/usr/lib/dmd/dmd-2063/dmd2/linux/bin64/dman --slave /usr/bin/ddemangle
ddemangle /usr/lib/dmd/dmd-2063/dmd2/linux/bin64/ddemangle --slave
/usr/bin/dumpobj dumpobj /usr/lib/dmd/dmd-2063/dmd2/linux/bin64/dumpobj
--slave /usr/bin/obj2asm obj2asm
/usr/lib/dmd/dmd-2063/dmd2/linux/bin64/obj2asm --slave /etc/dmd.conf
dmd.conf /usr/lib/dmd/dmd-2063/dmd2/linux/bin64/dmd.conf --slave
/usr/include/d/phobos phobos /usr/lib/dmd/dmd-2063/dmd2/src/phobos --slave
/usr/include/d/druntime druntime /usr/lib/dmd/dmd-2063/dmd2/src/druntime
--slave /usr/lib/x86_64-linux-gnu/libphobos2.so libphobos2
/usr/lib/dmd/dmd-2063/dmd2/linux/lib64/libphobos2.so --slave
/usr/lib/i386-linux-gnu/libphobos2.so libphobos2-i386.so
/usr/lib/dmd/dmd-2063/dmd2/linux/lib32/libphobos2.so --slave
/usr/lib/x86_64-linux-gnu/libphobos2.a libphobos2.a
/usr/lib/dmd/dmd-2063/dmd2/linux/lib64/libphobos2.a --slave
/usr/lib/i386-linux-gnu/libphobos2.a libphobos2-i386.a
/usr/lib/dmd/dmd-2063/dmd2/linux/lib32/libphobos2.a


Re: LDC 0.12.1 has been released

2013-12-03 Thread David Nadlinger

On Tuesday, 3 December 2013 at 09:00:25 UTC, Rory McGuire wrote:
Nice. Any chance that the packages are able to have a similar 
layout to dmd?


It is easy to just rearrange the files to match DMD's directory 
structure, you just have to update ldc2.conf accordingly.


However, as we don't ship one big archive for all possible 
operating systems (including the source code) like DMD does, but 
binary-only packages for each OS, I think adopting the DMD zip 
directory structure would only be confusing. The current layout 
is supposed to make it as easy as possible to just extract the 
archive somewhere and immediately be able to use the compiler (I 
use /opt/ldc… for keeping the different releases around, but you 
could also extract the files to /usr/local directly).


But I believe what you were asking for is a layout to match the 
DMD .deb packages? In this case, this would be a a job for the 
person providing LDC Debian packages, which we – unfortunately – 
currently don't have at all. Since LDC is Free Software in the 
Debian sense, it should even be possible to include it in the 
official repositories (again). There were a few discussions in 
that direction, but I don't think anything concrete resulted from 
that yet. Please contact us if you would be able to help with 
this!


David


LDC 0.12.1 has been released

2013-12-01 Thread Kai Nacke

Hi everyone,

LDC 0.12.1, the LLVM-based D compiler, is available for download!
This is a bug-fix only release. It is built on the 2.063.2 
frontend and standard library and supports LLVM 3.1-3.3 (OS X: 
3.2 only).


As usual, you can find links to the changelog and the binary 
packages over at digitalmars.D.ldc:

http://forum.dlang.org/post/fmhdagtwppcpkajgr...@forum.dlang.org

Regards,
Kai