compiling issue on link using the -plat option with TDM-GCC-64

new topic     » topic index » view thread      » older message » newer message

Hi everybody, I try to compile for Linux using -plat a small testcl.ex on my Windows10 PC. I get the message : cannot find -ldl . I suppose there is a missing library ? I cannot find out which one and where to get it. Maybe some of you have an idea about that . Thanks for help !

c:\Euphoria\Cltest>euc -GCC -plat LINUX testcl.ex 
Build directory: build-985871\ 
Translating code, pass: 1 2 3 4 5 6 7 8 9 10 11  generating 
Compiling with GCC 
Compiling   3% init-.c 
... 
... 
Compiling  96% sort.c 
Linking 100% ..\testcl 
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -ldl 
collect2.exe: error: ld returned 1 exit status 
Unable to link c:\Euphoria\Cltests\testcl 
Status: 1 Command: gcc -o c:/Euphoria/Cltests/testcl  init-.o testcl.o main-.o machine.o memory.o dll.o types.o conver 
t.o search.o filesys.o datetime.o get.o scinot.o sequence.o sort.o   C:/Euphoria/bin/eu.a -m32 -ldl -lm -lpthread 

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu