January 09, 2009
naryl wrote:

> David Ferenczi Wrote:
> 
>> naryl wrote:
>> 
>> > Tim M Wrote:
>> >> Congrats. Is anyone working on any idividual packages like ubuntu/gentoo?
>> > You can find ebuilds for ldc trunk here: http://www.assembla.com/wiki/show/d-overlay Sorry I have an exam in two days so v0.9 ebuild won't be available for a while.
>> 
>> Hey, this is great news, indeed! Did I overlook something or there was no announcement about this overlay?
> 
> No. Just an obscure link on ldc page. :)
> 
>> It would be nice to see these packages in portage directly, or at least in the official overlay. Any chance?
> 
> It's a little small to be included in official overlay list but we can try.

I don't think so. The current d overlay has much less packages, and they are even unmaintained.

>> I tried to install the overlay, but I get an 'Overlay "d-overlay" is missing a "contact" attribute!' error message.
> 
> Didn't know that it's required. Anyway, try again now.

It is required if you set in layman.cfg the "nocheck" option to "no". Now it compalins about missing description entry. ;-)

But I must say, that I'm impressed of the qualitiy of your peackages, the slots, the dependencies, and even the eselect configuration...so I'm happy with that. An it works out of the box. Great work!

Thank you very much,
David
January 09, 2009
On Fri, Jan 9, 2009 at 11:21 AM, Walter Bright <newshound1@digitalmars.com>wrote:

> Christian Kamm wrote:
>
>> D2 support is still a long way off, we haven't even begun implementing
>> most
>> of its specific features.
>>
>
> Does LLVM support thread local storage? That is shaping up to be critical for D2.
>

LLVM does support thread local storage, however, I'm not sure if all backend targets implement it yet. It's been a long time since I last read about it, so things have probably changed since then!


January 09, 2009
On Fri, Jan 9, 2009 at 11:19 AM, Walter Bright <newshound1@digitalmars.com>wrote:

> Christian Kamm wrote:
>
>> PowerPC support is still in its infancy. We've had two people looking at
>> it
>> a few months back, but I haven't heard from either recently. I think they
>> ran into a frontend-portability issue:
>> http://www.dsource.org/projects/ldc/ticket/76
>>
>> I don't think anyone has tried LDC on ARM yet.
>>
>
> ARM is real big on embedded systems like phones. D is an ideal language for them. I get asked a lot about supporting it.
>

Moritz Warning did some good work on getting LDC to compile and run on
ARM/Linux a while back. IIRC he even posted a virtual machine image with
everything to try it out, there was still some runtime issue to care of
though. Also, this wasn't a cross compiler, but rather LDC running natively
on the ARM itself, which is probably not what most people would want. LDC
has most things in place for cross compilation already, but there's still
some work to be done in that area before it's fully useful.
Moritz, please chime in with any corrections/additions :)


> The PPC is a more fill-in-the-blank, as it is yesterday's machine.


As far as I know, LLVM's PPC target is fairly mature, and getting LDC to work on this platform would probably not take that much more work once the frontend issues there have been sorted.


>
>
> Anyhow, getting D on more platforms will remove a lot of barriers people have to using it. LDC is a big step forward for that.
>


January 09, 2009
Christian Kamm, el  9 de enero a las 00:21 me escribiste:
> The first version of LDC (http://www.dsource.org/projects/ldc), the LLVM based compiler for version one of the D programming language has been released for x86-32 Linux. Get it here: http://www.incasoftware.de/~kamm/ldc/ldc-0.9.tbz2

Excelent news! Congrats and thanks for the great job.

-- 
Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/
----------------------------------------------------------------------------
GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145  104C 949E BFB6 5F5A 8D05)
----------------------------------------------------------------------------
DIEZ "PUNGAS" MENOS
	-- Crónica TV
January 09, 2009
David Ferenczi Wrote:

> naryl wrote:
> 
> > David Ferenczi Wrote:
> > 
> >> naryl wrote:
> >> 
> >> > Tim M Wrote:
> >> >> Congrats. Is anyone working on any idividual packages like ubuntu/gentoo?
> >> > You can find ebuilds for ldc trunk here: http://www.assembla.com/wiki/show/d-overlay Sorry I have an exam in two days so v0.9 ebuild won't be available for a while.
> >> 
> >> Hey, this is great news, indeed! Did I overlook something or there was no announcement about this overlay?
> > 
> > No. Just an obscure link on ldc page. :)
> > 
> >> It would be nice to see these packages in portage directly, or at least in the official overlay. Any chance?
> > 
> > It's a little small to be included in official overlay list but we can try.
> 
> I don't think so. The current d overlay has much less packages, and they are even unmaintained.
> >> I tried to install the overlay, but I get an 'Overlay "d-overlay" is missing a "contact" attribute!' error message.
> > 
> > Didn't know that it's required. Anyway, try again now.
> 
> It is required if you set in layman.cfg the "nocheck" option to "no". Now it compalins about missing description entry. ;-)
> 
> But I must say, that I'm impressed of the qualitiy of your peackages, the slots, the dependencies, and even the eselect configuration...so I'm happy with that. An it works out of the box. Great work!
> 
> Thank you very much,
> David

Thanks! The eselect module will be completely rewritten in the near future. It's too buggy and slow. :)
January 10, 2009
On Reddit:

http://www.reddit.com/r/programming/comments/7oi03/llvm_d_compiler_09_released/
January 10, 2009
Nick Sabalausky wrote:
> 
> Is MSYS/MinGW needed for building LDC/LLVM on windows? I found that to be a problem with GCC.
>

LLVM can be built with MSVC, and LDC is in the works. However, this is experimental, there are some issues left, and since LLVM relies on GCC to generate native code, MinGW will still be necessary anyways; so the recommended way is to build LLVM and LDC via MSYS/MinGW for now. If you run into problems feel free to join #ldc on freenode, feedback is always welcome.

Please keep in mind that, as Christian already mentioned, there's no support for exception handling on Windows in LLVM yet, and although we're working on it we might not get to a solution until this is fixed in LLVM, so LDC's usability on Windows is very limited at the moment. This release is really just intended for x86-32 Linux.


January 11, 2009
== Quote from Elrood (arno@nym.net)'s article
> Nick Sabalausky wrote:
> >
> > Is MSYS/MinGW needed for building LDC/LLVM on windows? I found that to be a problem with GCC.
> >
> LLVM can be built with MSVC, and LDC is in the works. However, this is
> experimental, there are some issues left, and since LLVM relies on GCC
> to generate native code, MinGW will still be necessary anyways; so the
> recommended way is to build LLVM and LDC via MSYS/MinGW for now. If you
> run into problems feel free to join #ldc on freenode, feedback is always
> welcome.
> Please keep in mind that, as Christian already mentioned, there's no
> support for exception handling on Windows in LLVM yet, and although
> we're working on it we might not get to a solution until this is fixed
> in LLVM, so LDC's usability on Windows is very limited at the moment.
> This release is really just intended for x86-32 Linux.

I finally got LLVM to build properly, but now I'm trying to build LDC for Windows
using the latest version of
msys/mingw and CMake with MinGW make files, and I'm getting the
following error:

Can't open perl script "E:/msys/1.0/home/dsimcha/ldcBin/revisions.pl":
No such file or directory
mingw32-make[2]: *** [revisions.h] Error 2
mingw32-make[1]: *** [CMakeFiles/gen_revs_h.dir/all] Error 2

It seems that CMake isn't generating revisions.pl correctly from revisions.pl.in, but I haven't the slightest clue why.
January 11, 2009
dsimcha wrote:
> 
> It seems that CMake isn't generating revisions.pl correctly from revisions.pl.in, but I haven't the slightest clue why.

Just take the one from your CMake installation path and move it to your LDC build directory. CMake's Windows GUI apparently handles things a little differently from the command line version.
January 13, 2009
Christian Kamm wrote:

> The first version of LDC (http://www.dsource.org/projects/ldc), the LLVM
> based compiler for version one of the D programming language has been
> released for x86-32 Linux. Get it here:
...
> LDC ships with a precompiled Tango rev 4237 and passes all except two of
> Tango's unittests (io.digest.Md2 and text.locale.Posix fail). DStress
> results also look favorable. The chances are good that your code will work
> with it too!

Good job! I've updated wxD HEAD to work with the LDC 0.9 release
("make COMPILER=LDC LIBRARY=Tango") tested on Mac OS X and Linux.

--anders