On 12/27/2016 06:02 AM, Adam D. Ruppe wrote:
On Tuesday, 27 December 2016 at 00:05:39 UTC, Andrei Alexandrescu wrote:
I'm building with no flags using dmd.

Do dmd -v for verbose output and see what linker flags it is doing.
Perhaps you have a configuration difference that is causing it not to
export the symbol (`fun` isn't marked `export`... I don't think that
matters on linux but it might on some versions or with some
configurations).

dmd will need to pass "--export-dynamic" to the linker, so that the symbol is actually exported.

--
Mike Wey

Reply via email to