yes, arch linux is the platform and 'nim' sources were 'git clone'd directly 
from github [https://github.com/nim-lang/nim](https://github.com/nim-lang/nim) 
_instead_ of arch aur nim-git.
    
    
    [strikr@victory ~]$ uname -a
    Linux victory 4.9.5-1-ARCH #1 SMP PREEMPT Fri Jan 20 12:11:50 CET 2017 
x86_64 GNU/Linux
    [strikr@victory ~]$
    

please see
    
    
    [strikr@victory nim]$ ls
    bin/             config/       do_step2.sh*  install_nimble.nims  
koch.nim.cfg  manual.log    readme.md   tools/
    build/           copying.txt   do_step3.sh*  install_tools.nims   lib/      
    manual.out    readme.txt  web/
    ci/              csources/     do_step4.sh*  install.txt          log.1     
    manual.toc    tests/
    compiler/        doc/          examples/     koch*                log.txt   
    missfont.log  tinyc/
    compiler.nimble  do_step1.sh*  icons/        koch.nim             
manual.aux    nimcache/     todo.txt
    

wrote a bunch of trivial script files (do_step*.sh) for each build step

step1
    
    
    [strikr@victory nim]$ cat do_step1.sh
    git clone --depth 1 https://github.com/nim-lang/csources
    

step2
    
    
    [strikr@victory nim]$ cat do_step2.sh
    cd csources && sh build.sh
    

step3
    
    
    [strikr@victory nim]$ cat do_step3.sh
    bin/nim c koch
    ./koch boot -d:release
    

step4
    
    
    [strikr@victory nim]$ cat do_step4.sh
    ./koch pdf
    
    

Reply via email to