On Tuesday, 7 April 2020 at 12:29:57 UTC, Adam D. Ruppe wrote:
On Tuesday, 7 April 2020 at 11:45:24 UTC, burt wrote:
I managed to get it to compile. I had to add __bss_end__
symbol myself and set the value to the value of the `_end`
symbol or it wouldn't work. A PR to the LDC druntime is wat
c
On Tue, Apr 07, 2020 at 03:06:16PM +, Adam D. Ruppe via Digitalmars-d-learn
wrote:
> On Tuesday, 7 April 2020 at 14:51:15 UTC, H. S. Teoh wrote:
> > 1) Follow LDC wiki to build an Android cross-compiler and
> >cross-compiled LDC libraries (this may already be prepackaged
> >with the la
On Tuesday, 7 April 2020 at 14:51:15 UTC, H. S. Teoh wrote:
1) Follow LDC wiki to build an Android cross-compiler and
cross-compiled
LDC libraries (this may already be prepackaged with the
latest LDC
releases).
They are - this is all automatic just-works now (if you download
the right
On Tuesday, 7 April 2020 at 14:51:15 UTC, H. S. Teoh wrote:
On Tue, Apr 07, 2020 at 12:43:20PM +, Adam D. Ruppe via
Digitalmars-d-learn wrote:
On Monday, 6 April 2020 at 08:38:03 UTC, Jan Hönig wrote:
> Is there some "Hello World!" example for D on Android?
[...]
> However there is just so
On Tuesday, 7 April 2020 at 12:43:20 UTC, Adam D. Ruppe wrote:
On Monday, 6 April 2020 at 08:38:03 UTC, Jan Hönig wrote:
Is there some "Hello World!" example for D on Android?
So I did a tiny thing in the repo:
https://github.com/adamdruppe/d_android/tree/master/android-dub-test
if you open
On Tue, Apr 07, 2020 at 12:43:20PM +, Adam D. Ruppe via Digitalmars-d-learn
wrote:
> On Monday, 6 April 2020 at 08:38:03 UTC, Jan Hönig wrote:
> > Is there some "Hello World!" example for D on Android?
[...]
> > However there is just so much to know.
> > It is really overwhelming.
>
> no kidd
On Monday, 6 April 2020 at 08:38:03 UTC, Jan Hönig wrote:
Is there some "Hello World!" example for D on Android?
So I did a tiny thing in the repo:
https://github.com/adamdruppe/d_android/tree/master/android-dub-test
if you open that in android studio it should load up, and the
makefile is c
On Tuesday, 7 April 2020 at 11:45:24 UTC, burt wrote:
I managed to get it to compile. I had to add __bss_end__ symbol
myself and set the value to the value of the `_end` symbol or
it wouldn't work. A PR to the LDC druntime is wat caused the
__bss_end__ symbol to be missing [0].
Blargh it was
On Thursday, 2 April 2020 at 12:13:27 UTC, Adam D. Ruppe wrote:
On Thursday, 2 April 2020 at 11:29:24 UTC, burt wrote:
Anyway, I don't think this fails to work because of an error
in the d_android library. If you find anything else that may
cause it, I am glad to know, but thank you for your he
Little off-topic, but I think it should fit here well.
Is there some "Hello World!" example for D on Android?
Having a simple example is a great springboard to start a project
with lot of unknowns.
On the weekend I started creating an App (kotlin), really simple
stuff.
However there is just
On Thursday, 2 April 2020 at 17:16:56 UTC, burt wrote:
On Thursday, 2 April 2020 at 12:13:27 UTC, Adam D. Ruppe wrote:
On Thursday, 2 April 2020 at 11:29:24 UTC, burt wrote:
Anyway, I don't think this fails to work because of an error
in the d_android library. If you find anything else that may
On Thursday, 2 April 2020 at 12:13:27 UTC, Adam D. Ruppe wrote:
On Thursday, 2 April 2020 at 11:29:24 UTC, burt wrote:
Anyway, I don't think this fails to work because of an error
in the d_android library. If you find anything else that may
cause it, I am glad to know, but thank you for your he
On Thursday, 2 April 2020 at 11:29:24 UTC, burt wrote:
Anyway, I don't think this fails to work because of an error in
the d_android library. If you find anything else that may cause
it, I am glad to know, but thank you for your help.
Well, it is supposed to be a "just works" setup helper, so
On Thursday, 2 April 2020 at 01:53:30 UTC, Adam D. Ruppe wrote:
On Wednesday, 1 April 2020 at 15:04:02 UTC, burt wrote:
Well I'm European, so with 10.010 kB I mean 10010 kB = 10.010
MB in American/British.
ah, of course.
Well, I won't be able to finish it today anyway, so take your
time.
I
On Wednesday, 1 April 2020 at 15:04:02 UTC, burt wrote:
Well I'm European, so with 10.010 kB I mean 10010 kB = 10.010
MB in American/British.
ah, of course.
Well, I won't be able to finish it today anyway, so take your
time.
I rewrote the downloader so it goes straight from ldc releases
in
On Wednesday, 1 April 2020 at 15:01:02 UTC, Adam D. Ruppe wrote:
On Wednesday, 1 April 2020 at 14:54:35 UTC, burt wrote:
libphobos2-ldc.a and libphobos2-ldc-debug.a. Sizes are 2511
kB, 4792 kB, 10.010 kB and 17.378 kB respectively.
Those latter two should be megabytes not kilobytes the
do
On Wednesday, 1 April 2020 at 14:54:35 UTC, burt wrote:
libphobos2-ldc.a and libphobos2-ldc-debug.a. Sizes are 2511 kB,
4792 kB, 10.010 kB and 17.378 kB respectively.
Those latter two should be megabytes not kilobytes the
download must have failed.
can i come back to it in a few hours? I
On Wednesday, 1 April 2020 at 14:31:45 UTC, Adam D. Ruppe wrote:
On Wednesday, 1 April 2020 at 14:20:25 UTC, burt wrote:
Some examples of errors are:
Those mean it isn't linking in the libs at all... ugh.
do
ldc2 -v
and it will tell you where the config file is.
open that up and see if it
On Wednesday, 1 April 2020 at 14:20:25 UTC, burt wrote:
Some examples of errors are:
Those mean it isn't linking in the libs at all... ugh.
do
ldc2 -v
and it will tell you where the config file is.
open that up and see if it has teh correct paths under a section
that looks kinda like
"ar
On Wednesday, 1 April 2020 at 14:16:28 UTC, Adam D. Ruppe wrote:
On Wednesday, 1 April 2020 at 14:13:32 UTC, burt wrote:
I also wonder if there's a difference between the
libphobos2-ldc and libphobos2-ldc-debug.a libraries? Do those
mangle differently and could that cause the linker errors?
m
On Wednesday, 1 April 2020 at 14:13:32 UTC, burt wrote:
I also wonder if there's a difference between the
libphobos2-ldc and libphobos2-ldc-debug.a libraries? Do those
mangle differently and could that cause the linker errors?
maybe. what are the errors?
On Wednesday, 1 April 2020 at 14:00:39 UTC, Adam D. Ruppe wrote:
On Wednesday, 1 April 2020 at 13:36:29 UTC, burt wrote:
Sorry, I must have misread this. My LDC version was 1.20.1,
not 1.19.
did that fix the linker error?
The runtimes it downloads are specifically built against 1.19.
But lib
On Wednesday, 1 April 2020 at 13:36:29 UTC, burt wrote:
Sorry, I must have misread this. My LDC version was 1.20.1, not
1.19.
did that fix the linker error?
The runtimes it downloads are specifically built against 1.19.
But libs for the other versions are available too, you just need
to down
So the correct steps now:
1) get ldc 1.19 specifically and the android NDK
2) do `android-setup /path/to/your/android/ndk`
3) do normal `dub build`
Sorry, I must have misread this. My LDC version was 1.20.1, not
1.19.
Thanks
On Wednesday, 1 April 2020 at 11:57:58 UTC, Adam D. Ruppe wrote:
On Wednesday, 1 April 2020 at 08:50:01 UTC, burt wrote:
I found a README [0] that mentions an "android-dub-build.d"
script, which should be a wrapper around `dub build`
Ah, I forgot to update that file. There is no android-dub-bu
On Wednesday, 1 April 2020 at 08:50:01 UTC, burt wrote:
I found a README [0] that mentions an "android-dub-build.d"
script, which should be a wrapper around `dub build`
Ah, I forgot to update that file. There is no android-dub-build
anymore, instead the android-setup changes the main configura
Hi,
I'm trying to compile a simple app with D code to Android and
trying to use the d_android library for this. While trying to
compile a basic sample, I found a README [0] that mentions an
"android-dub-build.d" script, which should be a wrapper around
`dub build`, but I cannot find this file
27 matches
Mail list logo