jmeubank / tdm-gcc

TDM-GCC is a cleverly disguised GCC compiler for Windows!
https://jmeubank.github.io/tdm-gcc/
572 stars 49 forks source link

cannot find dynamic loader library #46

Open valdemar-const opened 2 years ago

valdemar-const commented 2 years ago

There is no LIBLD library. How can I add it?

C:\msys64\mingw64\bin\cmake.exe --build _build
[ 50%] Linking C executable ..\..\bin\myexec.exe
D:/programs/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/10.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -ldl
collect2.exe: error: ld returned 1 exit status
build\cmake\CMakeFiles\myexec.dir\build.make:99: recipe for target 'bin/myexec.exe' failed
mingw32-make.exe[2]: *** [bin/myexec.exe] Error 1
CMakeFiles\Makefile2:96: recipe for target 'build/cmake/CMakeFiles/myexec.dir/all' failed
mingw32-make.exe[1]: *** [build/cmake/CMakeFiles/myexec.dir/all] Error 2
Makefile:89: recipe for target 'all' failed
mingw32-make.exe: *** [all] Error 2
revelator commented 2 years ago

dlfcn-win32 google it :)