4 ms·
>Cross compilation and self-contained binary Did you try Chicken Scheme? $ echo "(print \"Hello, World"'!'"\")" > hello-world.scm $ csc hello-world.scm
by dTal 11y ago
>Cross compilation and self-contained binary
Did you try Chicken Scheme?
$ echo "(print \"Hello, World"'!'"\")" > hello-world.scm
$ csc hello-world.scm
$ ./hello-world
Hello, World!
$ du hello-world
16 hello-world
- zem 11y agoI use chicken and it's awesome, but i dont think there's an easy way to generate windows and mac binaries from linux. go is really good for that.
- dTal 11y agoI don't know about 'easy', but it just calls GCC in the end, so anything that can be made to work with GCC can be made to work with Chicken. Apparently building Windows binaries on Linux can be done with MinGW, though I've never tried: http://www.blogcompiler.com/2010/07/11/compile-for-windows-on-linux/ http://www.blogcompiler.com/2010/07/11/compile-for-windows-o...