FriCAS is a general purpose computer algebra system with a strong focus on mathematical research and development of new algorithms. (details see Wikipedia). This project is about providing a fully functional version for Cygwin64 (portable) including Cygwin/X.
Windows 10+ users may want to use WSL instead of cygwin, however, a portable FriCAS for Windows might be of interest anyway.
Most comfortable is the portable Cygwin version from MachinaCore. However, we recommend the prebuilt versions from AppVeyor instead of the older 1.2 releases.
There are binary releases for the current FriCAS version 1.3.3:
- fricas-1.3.3-x86_64-cygwin.tar.gz (install to /usr/local)
- ecl-16.1.3.tar.gz (required if you don't have ECL already)
and
- FriCAS_CygwinPortable_1.3.3.7z
FriCAS_CygwinPortable will run out of the box. See below how it goes.
- Download FriCAS_CygwinPortable64_x.y.z.7z
- Unpack anywhere (7z required)
- Start
CygwinPortable.exe
Get the latest release of CygwinPortable from AppVeyor, then setup the suggested system cygwin/X (use 64bit). Or, one may even start from scratch:
git clone https://github.com/MachinaCore/CygwinPortable.git
wget rawgit.com/transcode-open/apt-cyg/master/apt-cyg
install apt-cyg /bin
apt-cyg searchall gcc
apt-cyg install gcc-g++
...
or, better, use the menu/setup in the tray.
git clone https://gitlab.com/embeddable-common-lisp/ecl.git
Build it accordingly.
configure/make ECL
apt-cyg install dos2unix
dos2unix /home/cygwin/ecl/src/bdwgc/install-sh
make install
$ ecl --version
ECL 16.1.3
wget https://sourceforge.net/projects/fricas/files/fricas/1.3.3/fricas-1.3.3-full.tar.bz2
Make FriCAS
===========
install all libs according to the INSTALL doc
kfp@NUC: ~/fricas-1.3.3
$ ./configure --with-lisp=ecl
$ make
Emacs interface will not work.
Usual Error:
;;;
;;; Compiling /home/kfp/fricas-1.3.3/contrib/emacs/gen-cpl.lisp.
;;; OPTIMIZE levels: Safety=0, Space=0, Speed=3, Debug=0
;;;
;;; End of Pass 1. 0 [main] AXIOMsys 5652 child_info_fork::abort: address space needed by 'eclcRhyxv.dll' (0x130000) is already occupied
;;; Internal error:
;;; ** Could not spawn subprocess to run "gcc".
>> System error:
NIL is not of type STREAM.
==========
Workaround
==========
cd contrib/emacs/
edit Makefile
Change:
- default: efricas fricas-cpl.el
+ default: #efricas fricas-cpl.el
do make again ...
cp command.list fricas-1.3.3/target/x86_64-x-cygwin/lib/
make install