> 
> It's probably possible to tweak things a little bit to use less memory
> and disk space, but it will demands some work.
> 
> If you link your program statically, it may use less memory and storage
> space in this case:
> 
>   PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
> 28808 mario     20   0  2072 1044  604 R  100  0.0   0:21.51 loop
> 
> $ csc -x -uses -static library loop.scm

Use -static-libs to link statically with the CHICKEN runtime, otherwise
you include libc. That gives a binary of around 1MB.

Binaries can be reduced further, but to do any useful stuff and take
advantage of eggs, dynamic is necessary.


cheers,
felix

_______________________________________________
Chicken-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to