mtriple for iphonesimulator error!
Jacob Carlborg
doob at me.com
Fri Jun 26 14:40:38 UTC 2020
On 2020-06-26 13:25, Calvin P wrote:
> try build for iphonesimulator get this error:
>
>
> ldc2 -g -gc -O0 -c -mtriple=i386-apple-ios10 import/core/thread/fiber.d
>
> <inline asm>:4:2: error: unknown directive
> .type fiber_switchContext, at function
> ^
> <inline asm>:22:2: error: unknown directive
> .size fiber_switchContext, .-fiber_switchContext
> ^
>
>
> what flags should I use for i386 and x86-64 iphonesimulator ?
Xcode uses "x86_64-apple-ios13.2-simulator". I guess you can specify any
version. I have not tested D/LDC on the simulator yet. There are things
that might not work.
--
/Jacob Carlborg
More information about the digitalmars-d-ldc
mailing list