Jump to page: 1 2
Thread overview
LDC 1.4.0-beta1
Aug 26, 2017
kinke
Aug 27, 2017
Kai Nacke
Aug 27, 2017
Jon Degenhardt
Aug 27, 2017
bitwise
Aug 27, 2017
Joakim
Aug 27, 2017
bitwise
Aug 29, 2017
Andrea Fontana
Aug 29, 2017
kinke
Aug 29, 2017
Andrea Fontana
Aug 29, 2017
Nicholas Wilson
Sep 01, 2017
Joakim
Sep 02, 2017
Igor Shirkalin
Sep 02, 2017
Nicholas Wilson
Sep 10, 2017
jmh530
Sep 11, 2017
kinke
Sep 11, 2017
jmh530
August 26, 2017
Hi everyone,

on behalf of the LDC team, I'm glad to announce LDC 1.4.0-beta1. The highlights of version 1.4 in a nutshell:

* Based on D 2.074.1.
* Shipping with ldc-build-runtime, a small D tool to easily (cross-)compile the runtime libraries yourself.
* Full Android support, incl. emulated TLS.
* Improved support for AddressSanitizer and libFuzzer. The libraries are shipped with the prebuilt Linux x86_64 and OSX packages.
* Prebuilt Linux x86_64 package shipping with LTO plugin, catching up with the OSX package.

Full release log and downloads: https://github.com/ldc-developers/ldc/releases/tag/v1.4.0-beta1

Thanks to everybody contributing!
August 27, 2017
On Saturday, 26 August 2017 at 22:35:11 UTC, kinke wrote:
> Hi everyone,
>
> on behalf of the LDC team, I'm glad to announce LDC 1.4.0-beta1. The highlights of version 1.4 in a nutshell:
>
> * Based on D 2.074.1.
> * Shipping with ldc-build-runtime, a small D tool to easily (cross-)compile the runtime libraries yourself.
> * Full Android support, incl. emulated TLS.
> * Improved support for AddressSanitizer and libFuzzer. The libraries are shipped with the prebuilt Linux x86_64 and OSX packages.
> * Prebuilt Linux x86_64 package shipping with LTO plugin, catching up with the OSX package.
>
> Full release log and downloads: https://github.com/ldc-developers/ldc/releases/tag/v1.4.0-beta1
>
> Thanks to everybody contributing!

Well done! It's great work you all are doing!

Regards,
Kai
August 27, 2017
On Saturday, 26 August 2017 at 22:35:11 UTC, kinke wrote:
> Hi everyone,
>
> on behalf of the LDC team, I'm glad to announce LDC 1.4.0-beta1. The highlights of version 1.4 in a nutshell:
>
> * Based on D 2.074.1.
> * Shipping with ldc-build-runtime, a small D tool to easily (cross-)compile the runtime libraries yourself.
> * Full Android support, incl. emulated TLS.
> * Improved support for AddressSanitizer and libFuzzer. The libraries are shipped with the prebuilt Linux x86_64 and OSX packages.
> * Prebuilt Linux x86_64 package shipping with LTO plugin, catching up with the OSX package.
>
> Full release log and downloads: https://github.com/ldc-developers/ldc/releases/tag/v1.4.0-beta1
>
> Thanks to everybody contributing!

Wow, this looks fantastic, congrats!

--Jon
August 27, 2017
On Saturday, 26 August 2017 at 22:35:11 UTC, kinke wrote:

> * Shipping with ldc-build-runtime, a small D tool to easily (cross-)compile the runtime libraries yourself.
> * Full Android support, incl. emulated TLS.

Does this mean I can actually build D static libraries, link them into an NDK shared lib, and use it in a phone app that I can submit to Google Play?
August 27, 2017
On Sunday, 27 August 2017 at 15:45:00 UTC, bitwise wrote:
> On Saturday, 26 August 2017 at 22:35:11 UTC, kinke wrote:
>
>> * Shipping with ldc-build-runtime, a small D tool to easily (cross-)compile the runtime libraries yourself.
>> * Full Android support, incl. emulated TLS.
>
> Does this mean I can actually build D static libraries, link them into an NDK shared lib, and use it in a phone app that I can submit to Google Play?

Yes.  Just follow these instructions to generate the standard library for Android/ARM;

https://wiki.dlang.org/Building_LDC_runtime_libraries

We're still cleaning up loose ends and refining the process though.  I forgot that you need to disable building one module when cross-compiling the stdlib, as mentioned here:

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

Then, you can use a variation of these instructions to build D code:

https://wiki.dlang.org/Build_D_for_Android

The problem is those instructions assume you have a ldc2.conf set up properly, whereas the new ldc 1.4 beta won't do that for you.  I'm looking into adding that.

Basically, you can do what you asked now, but while all the functionality is there, we're refining the build setup with this ldc beta process.  By the final 1.4 release, it should be really easy to cross-compile the stdlib and use it, but we're not quite there yet.

If you're adventurous, try it out know and let us know what you think.  Otherwise, it will get even simpler soon.
August 27, 2017
On Sunday, 27 August 2017 at 18:30:36 UTC, Joakim wrote:
>
> Yes.
>
> [...]

This is awesome. I appreciate all the hard work.

As far as testing, it will be a while before my current project is ready for an android port.



August 29, 2017
On Saturday, 26 August 2017 at 22:35:11 UTC, kinke wrote:
> * Shipping with ldc-build-runtime, a small D tool to easily (cross-)compile the runtime libraries yourself.

Have anyone ever tried to compile a linux version of ldc that generates windows executables?

Andrea
August 29, 2017
On Tuesday, 29 August 2017 at 12:46:16 UTC, Andrea Fontana wrote:
> On Saturday, 26 August 2017 at 22:35:11 UTC, kinke wrote:
>> * Shipping with ldc-build-runtime, a small D tool to easily (cross-)compile the runtime libraries yourself.
>
> Have anyone ever tried to compile a linux version of ldc that generates windows executables?
>
> Andrea

Yep, I even mentioned it prominently in the 1.3 release log. See https://github.com/ldc-developers/ldc/pull/2142#issuecomment-304472412. That was before ldc-build-runtime though; I simply used druntime/Phobos from the prebuilt Win64 package.
August 29, 2017
On Tuesday, 29 August 2017 at 13:11:44 UTC, kinke wrote:
> On Tuesday, 29 August 2017 at 12:46:16 UTC, Andrea Fontana wrote:
>> On Saturday, 26 August 2017 at 22:35:11 UTC, kinke wrote:
>>> * Shipping with ldc-build-runtime, a small D tool to easily (cross-)compile the runtime libraries yourself.
>>
>> Have anyone ever tried to compile a linux version of ldc that generates windows executables?
>>
>> Andrea
>
> Yep, I even mentioned it prominently in the 1.3 release log. See https://github.com/ldc-developers/ldc/pull/2142#issuecomment-304472412. That was before ldc-build-runtime though; I simply used druntime/Phobos from the prebuilt Win64 package.

Is there also a wiki page about this?
August 29, 2017
On Tuesday, 29 August 2017 at 13:11:44 UTC, kinke wrote:
> On Tuesday, 29 August 2017 at 12:46:16 UTC, Andrea Fontana wrote:
>> On Saturday, 26 August 2017 at 22:35:11 UTC, kinke wrote:
>>> * Shipping with ldc-build-runtime, a small D tool to easily (cross-)compile the runtime libraries yourself.
>>
>> Have anyone ever tried to compile a linux version of ldc that generates windows executables?
>>
>> Andrea
>
> Yep, I even mentioned it prominently in the 1.3 release log. See https://github.com/ldc-developers/ldc/pull/2142#issuecomment-304472412. That was before ldc-build-runtime though; I simply used druntime/Phobos from the prebuilt Win64 package.

Ooh, sweet! I might try this if I can't get LDC to build on windows and just build the libs from my mac instead.
« First   ‹ Prev
1 2