Re: erro when use core.runtime

2017-05-17 Thread Dsby via Digitalmars-d-learn

I am in openSUSE.

I see the code in runtime.
it is only support Windows in default.
in posix only version (Shared) is will build.
why?


Re: erro when use core.runtime

2017-05-17 Thread Dsby via Digitalmars-d-learn

On Thursday, 18 May 2017 at 04:53:36 UTC, Dsby wrote:

Linking...
../../.dub/build/library-debug-linux.posix-x86_64-dmd_2073-368A963AFD76168526BD99BBB313FD4B/libyu.a(runtime_a21_4e7.o):在函数‘_D4core7runtime7Runtime17__T11loadLibraryZ11loadLibraryFxAaZPv
’中:
/usr/include/dmd/druntime/import/core/runtime.d:222:对‘rt_loadLibrary’未定义的引用
../../.dub/build/library-debug-linux.posix-x86_64-dmd_2073-368A963AFD76168526BD99BBB313FD4B/libyu.a(runtime_a22_5ca.o):在函数‘_D4core7runtime7Runtime19__T13unloadLibraryZ13unloadLibraryFPv
Zb’中:
/usr/include/dmd/druntime/import/core/runtime.d:237:对‘rt_unloadLibrary’未定义的引用

it is in 2.073.1


it is also error in ldc 1.1.0 (dmd 2.071.2)


erro when use core.runtime

2017-05-17 Thread Dsby via Digitalmars-d-learn

Linking...
../../.dub/build/library-debug-linux.posix-x86_64-dmd_2073-368A963AFD76168526BD99BBB313FD4B/libyu.a(runtime_a21_4e7.o):在函数‘_D4core7runtime7Runtime17__T11loadLibraryZ11loadLibraryFxAaZPv
’中:
/usr/include/dmd/druntime/import/core/runtime.d:222:对‘rt_loadLibrary’未定义的引用
../../.dub/build/library-debug-linux.posix-x86_64-dmd_2073-368A963AFD76168526BD99BBB313FD4B/libyu.a(runtime_a22_5ca.o):在函数‘_D4core7runtime7Runtime19__T13unloadLibraryZ13unloadLibraryFPv
Zb’中:
/usr/include/dmd/druntime/import/core/runtime.d:237:对‘rt_unloadLibrary’未定义的引用

it is in 2.073.1