compile OS is Debian 10.4 x86_64 # nim --version Nim Compiler Version 1.2.0 
[Linux: amd64] Compiled at 2020-04-03 Copyright (c) 2006-2020 by Andreas Rumpf

git hash: 7e83adff84be5d0c401a213eccb61e321a3fb1ff active boot switches: 
-d:release

# cat hello.nim echo "Hello World"

# nim -d:release --opt=size --passL:-s --cpu:arm --os:linux 
--gcc.exe:arm-openwrt-linux-gcc --gcc.linkerexe:arm-openwrt-linux-gcc c 
hello.nim

When I execute the hello program on Openwrt(arm_cortex-a9_vfpv3) # ./hello

-ash: ./hello: not found|   
---|---  
  
# opkg print_architecture arch all 1 arch noarch 1 arch arm_cortex-a9_vfpv3 10 

Reply via email to