Hi

finelly is works!

I tried the way suggested Tetralux via make_standalone_toolchain.py and then 
clang.

Simple echo works, but I tried simple pow from math and clang doesn't compile 
it:
    
    
    import math
    
    var a = pow(5.09, 2.33)
    
    
    
    clang -I ../sysroot/usr/include -I C:/Nim/lib -fPIE -pie -o 
C:/Users/uname/Documents/nimapps/jnijava/hello.bin 
C:/Users/uname/Documents/nimapps/jnijava/nimcache/*.c

...and get error:
    
    
    \nimcache\hello.c:function NimMainModule: error: undefined reference to 
'pow'
    clang50.exe: error: linker command failed with exit code 1 (use -v to see 
invocation)

Reply via email to