[Ohrrpgce] Android NDK woes

Ralph Versteegen teeemcee at gmail.com
Mon Sep 16 17:58:14 PDT 2019


On Tue, 17 Sep 2019 at 12:54, Ralph Versteegen <teeemcee at gmail.com> wrote:

> Actually, you don't need to recompile FB. Running build.sh compiles
> libapplication.so which goes into the .apk from the OHRRPGCE .c/.cpp and FB
> .c source files directly. You do however need to use a fbc compiled from my
> branch of FB (and make sure your copy of the FB source code, which
> sdl-android contains a symlink to, is checked-out to that git branch).
>

To clarify: you need to compile fbc, the compiler ("make compiler" using
FB's makefile), which you would already have, you don't compile fbc's
runtime library ("make rtlib") - you only need the latter if you want to
run commandline programs on Android (which fbc itself can actually compile).


>
> I just tried, and both ndk r8e and r12b compile for me, and I tried arm64
> using r12b too. However I didn't actually try running the resulting .apks.
>
> On Tue, 17 Sep 2019 at 12:05, James Paige <Bob at hamsterrepublic.com> wrote:
>
>> I am having another bout of the
>> every-time-I-touch-my-NDK-even-a-little-bit-I-permanently-break-my-whole-build-environment
>> blues
>>
>> I tried to switch from NDK r8d to NDK r12b but It wouldn't compile.
>>
>> If I was a good little dev I would have saved my failure messages each
>> step of the way, but I was rushing, so I didn't
>>
>> I tried a 64 bit build, and it failed differently.
>> I tried to go back to a 32 bit build and it failed differently
>> I remembered I had to recompile freebasic with the NDK I was using... and
>> that worked, but then building failed... differently.
>> I tried to revert back to NDK r8d but it failed... differently!
>>
>> This is mostly just me venting, if this was a serious shot at debugging,
>> I would have saved output.
>>
>> The good news is that I saved a snapshot clone of my VM before I began
>> all that nonsense, so I can start again more systematically.
>>
>> So, in summary, I'll be doing that some weekend soon!
>>
>> ---
>> James Paige
>>
>>
>> _______________________________________________
>> Ohrrpgce mailing list
>> ohrrpgce at lists.motherhamster.org
>> http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.motherhamster.org/pipermail/ohrrpgce-motherhamster.org/attachments/20190917/029a1a3d/attachment.html>


More information about the Ohrrpgce mailing list