lilydjwg / swapview-rosetta

Print swap usage per process. Implemented in various programming languages
491 stars 108 forks source link

fix chicken version for chicken 5 style import #147

Closed farseerfc closed 5 years ago

farseerfc commented 5 years ago

This try to install depends into a ./deps directory when called with make then build swapview binary

farseerfc commented 5 years ago

We need to drop the swapview binary in the commit.

Added a .gitignore to ignore binary

It doesn't run without CHICKEN_REPOSITORY_PATH, which is annoying. Can we make it work without this?

seems passing -static to chicken-csc will result a binary that linked to libc but no chicken libraries.

Also there is an error:

FORMAT: error with call: (format #f "~,1f<===~a" ===>143/128 MiB )
        illegal character in number->string

Fixed by treating size in filesize as float instead of fixnum

lilydjwg commented 5 years ago

原来那个 binary 是我加进去的啊。

我 rebase 了然而 github 好像懵了 -_-