Illegal Instruction

David Nadlinger code at klickverbot.at
Sun Mar 25 22:35:28 UTC 2018


Hi Russel,

On 25 Mar 2018, at 15:38, Russel Winder via digitalmars-d-ldc wrote:
> I created test.d and main.d and then on Debian Sid:
>
> |> ldmd2 -fPIC -g -shared test.d
> |> ldmd2 main.d -g -L-ltest -L-L. -L-R.
> |> ./main
> |> ldmd2 main.d -g -L-ltest -L-L. -L-R. -link-defaultlib-shared
> |> ./main
> |>

I assume this is meant to say that both programs abort?

Which `ldc2 --version` are you using?

Best,
David



More information about the digitalmars-d-ldc mailing list