Ehem, ARM
Paulo Pinto
pjmlp at progtools.org
Fri Nov 15 01:45:40 PST 2013
On Friday, 15 November 2013 at 09:20:18 UTC, Joakim wrote:
> On Friday, 15 November 2013 at 08:54:21 UTC, Paulo Pinto wrote:
>> On Friday, 15 November 2013 at 08:24:55 UTC, Joakim wrote:
>>> Would it make sense to use dmd for linux/x86 to cross-compile
>>> to Android/x86 or is this a job for ldc/gdc only?
>>
>> I would say ldc/gdc only, as LLVM/gcc are the supported NDK
>> toolchains and dmd lacks an ARM backend.
>
> Yeah, I'm aware of these facts, but I don't think they matter.
> For one, dmd not having an ARM backend doesn't impact me since
> I'm targeting Android/x86 for now, :) as stated earlier. I
> don't think it's relevant what toolchains are integrated into
> the NDK as, for example, the Free Pascal compiler can now
> compile to Android and it isn't based on gcc or llvm:
>
> http://wiki.freepascal.org/Android
>
> I think the bigger issue is that llvm/gcc and therefore ldc/gdc
> have support for cross-compilation, but I don't know the status
> of cross-compiling support with dmd.
Yes, but FreePascal already had an ARM backend before they
started with Android, and cross-compiling support infrastructure.
As far as I know dmd does not support cross compiling.
--
Paulo
More information about the Digitalmars-d
mailing list