compiling nim from source on low memory SBC

2022-01-01 Thread federico3
If it can help, Nim is packaged in Debian and built for approx 10 architectures including ARM. Also, the package supports crosscompiling.

compiling nim from source on low memory SBC

2022-01-01 Thread demotomohiro
Nim runs N backend C compiler processes at same time when `nim c/cpp foo.nim` command is executed on the machine with N CPUs. (See `execCmdsInParallel` or `execCmdsInParallel` proc in `compiler/extccomp.nim`) So adding `--parallelBuild:1` option to Nim might reduce memory usage because Nim does

compiling nim from source on low memory SBC

2022-01-01 Thread rforcen
cross compiling the source in a desktop box is probably the most feasible option

compiling nim from source on low memory SBC

2021-12-31 Thread shirleyquirk
I was able to get Nim to compile on the RPI nano 2, with distcc and lots of swapping to disk

compiling nim from source on low memory SBC

2021-12-31 Thread rforcen
thanx dude, both 1gb 32 bit & 2gb 64 bit linux on arm work fine on 1.6.1

compiling nim from source on low memory SBC

2021-12-31 Thread Yardanico
You can either add swap or get the pre-built nightlies from (these ones are from the version-1.6 branch, so while they don't correspond to a stable 1.6.x release they're a part of

compiling nim from source on low memory SBC

2021-12-31 Thread rforcen
thankx dude, both 1gb 32 bit & 2gb 64 bit linux on arm work fine on 1.6.1

compiling nim from source on low memory SBC

2021-12-31 Thread rforcen
i'm unsuccessfully trying to compile nim 1.6.2 on a 2gb arm sbc, seems link the minimum ram is 4gb