# nim c -d:release --opt=size --passL:'-s -static -target arm' --cc:clang  
--clang.exe=clang --clang.linkerexe=clang hello.nim
    Hint: used config file '/root/nim/config/nim.cfg' [Conf]
    Hint: used config file '/root/nim/config/config.nims' [Conf]
    Hint: system [Processing]
    Hint: widestrs [Processing]
    Hint: io [Processing]
    Hint: hello [Processing]
    Hint:  [Link]
    Hint: 37816 LOC; 0.215 sec; 49.371MiB peakmem; Release build; proj: 
/root/gencfg_arm/hello.nim; out: /root/gencfg_arm/hello [SuccessX]
    # file hello
    hello: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically 
linked, BuildID[sha1]=36900acac886a71566ca020d8e766a22ba6ba154, for GNU/Linux 
3.2.0, stripped
    
    
    Run

Why is x86-64 arch? not arm? 

Reply via email to