December 06, 2013
On 12/04/2013 10:52 PM, Kai Nacke wrote:
>
> Shared libraries are not yet supported and still need some work.

yes, but I am impatient.

>
> I don't know the semantic of the gcc attributes. Do
> pragma(LDC_global_crt_ctor) and pragma(LDC_global_crt_dtor) help? See
> http://wiki.dlang.org/LDC-specific_language_changes.
>
> Regards,
> kai

This should be just what I need. Thanks!

December 06, 2013
On Friday, 6 December 2013 at 01:14:26 UTC, Ellery Newcomer wrote:
> On 12/04/2013 10:52 PM, Kai Nacke wrote:
>>
>> Shared libraries are not yet supported and still need some work.
>
> yes, but I am impatient.

Maybe you can help with the implementation in LDC? This is one of the most-wanted features.

Regards,
Kai
December 06, 2013
On Friday, 6 December 2013 at 15:39:17 UTC, Kai Nacke wrote:
>
> Maybe you can help with the implementation in LDC? This is one of the most-wanted features.
>
> Regards,
> Kai

Well, what needs to be done yet?
December 07, 2013
Yes, that would be great!

On the 2.064 branch, I already incorporated Martin's DMD/druntime work regarding ModuleInfo emission/lookup into our codegen. This should already go quite a long way towards runtime loading. What's left at this point is testing and ironing out the bugs that are undoubtedly still in there.

Feel free to contact me with any questions.

David


---
Sent from a mobile device.


On Fri, Dec 6, 2013 at 4:39 PM, Kai Nacke <kai@redstar.de> wrote:
> On Friday, 6 December 2013 at 01:14:26 UTC, Ellery Newcomer wrote:
>>
>> On 12/04/2013 10:52 PM, Kai Nacke wrote:
>>>
>>>
>>> Shared libraries are not yet supported and still need some work.
>>
>>
>> yes, but I am impatient.
>
>
> Maybe you can help with the implementation in LDC? This is one of the most-wanted features.
>
> Regards,
> Kai
December 07, 2013
On Friday, 6 December 2013 at 18:38:28 UTC, Ellery Newcomer wrote:
> On Friday, 6 December 2013 at 15:39:17 UTC, Kai Nacke wrote:
>>
>> Maybe you can help with the implementation in LDC? This is one of the most-wanted features.
>>
>> Regards,
>> Kai
>
> Well, what needs to be done yet?

David pointed already to the merge-2.064 which already contains some work.
I think this commit discussion provides a lot of background:
https://github.com/ldc-developers/ldc/commit/d9b137bb450601512dac4062a92e665c8017d737#commitcomment-4742502

Regards,
Kai
December 08, 2013
On Wednesday, 4 December 2013 at 02:38:39 UTC, Steve wrote:
> The executables in the 386 gzip file are for the 64-bit systems, and don't run on 386 boxes.

Hi Steve,

I uploaded a new x86-version - this time as 32bit build.

The md5 sums are:

955ccbd98dfa7f8a4e63a8094794e92c  ldc2-0.12.1-linux-x86.tar.gz
a9a865c211252e878e2e0764d3c4c469  ldc2-0.12.1-linux-x86.tar.xz

Thanks again for pointing out the problem!

Regards,
Kai
December 08, 2013
On Monday, 2 December 2013 at 06:59:55 UTC, Kai Nacke wrote:
>
> As always, the Win32/MinGW packages require a recent version of the mingw-w64 toolchain, see the (new) README file for details. There are no packages for the Win64/MSVC port yet. But you may want to have a look at the package provided by tae hoo:
> http://forum.dlang.org/thread/wrzsaoppngemvqikusac@forum.dlang.org


just installed the mingw package to windows 7 after mingw 4.7.2, and I get the following on attemping to compile an empty main function:

C:/Users/ellery/Downloads/ldc2-0.12.1-mingw-x86/ldc2-0.12.1-mingw-x86/bin/../lib/libphobos-ldc.a(demangle.obj):fake:(.te
xt+0xa9b): undefined reference to `__mingw_strtold'
collect2.exe: error: ld returned 1 exit status
Error: C:/MinGW/bin/gcc.exe failed with status: 1

what might this be about?
December 08, 2013
On 8 Dec 2013, at 20:20, Ellery Newcomer wrote:
> just installed the mingw package to windows 7 after mingw 4.7.2, and I get the following on attemping to compile an empty main function:

Which package did you use? There is a difference between the mingw.org and mingw-w64 projects, and I don't know whether the former incorporates the required functionality yet. Could you try the mingw-w64 release linked in the LDC readme?

David
December 08, 2013
On Sunday, 8 December 2013 at 19:27:55 UTC, David Nadlinger wrote:
> On 8 Dec 2013, at 20:20, Ellery Newcomer wrote:
>> just installed the mingw package to windows 7 after mingw 4.7.2, and I get the following on attemping to compile an empty main function:
>
> Which package did you use? There is a difference between the mingw.org and mingw-w64 projects, and I don't know whether the former incorporates the required functionality yet. Could you try the mingw-w64 release linked in the LDC readme?
>
> David

probably not. This is a 32bit system
December 08, 2013
On 8 Dec 2013, at 21:10, Ellery Newcomer wrote:
> probably not. This is a 32bit system

The mingw-w64 project also offers builds for 32-bit Windows.

Just try the one linked in the readme that came with the binary package – if such a file mentions a required dependency in *BIG* *LETTERS* *WITH* *STARS*, there is usually a reason for it. ;)

David
1 2 3