Building Bigloo Under Mingw64

Joseph Donaldson edited this page Apr 15, 2015 · 4 revisions

Prerequisites

You will need to install MSYS2. Directions can be found at http://sourceforge.net/p/msys2/wiki/MSYS2%20installation/. Make sure you use the 64bit installation executable.

Once MSYS2 is installed, launch the MinGW-w64 Win64 shell and install the packages below with the pacman package manager. To install a package with pacman, execute pacman -S <package name>.

  • mingw-w64-x86_64-gcc
  • mingw-w64-x86_64-gmp
  • mingw-w64-x86_64-libunistring
  • mingw-w64-x86_64-libwinpthread-git
  • mingw-w64-x86_64-openssl
  • mingw-w64-x86_64-sqlite3
  • mingw-w64-x86_64-winpthreads-git
  • mingw-w64-x86_64-make

Win64 Bigloo Source Archive

The Win64 Bigloo source archive can be found at https://sandjsite.net/jwd/files/bigloo4.2a.tar.gz. You will need to download it and unarchive it to an appropriate directory.

Configuring and Building

In the MinGW-w64 shell, cd to the chosen directory and run configure --prefix=<target installation directory> --disable-libuv --disable-wav. You should replace <target installation directory> with your preferred bigloo installation path. I usually choose c:/bigloo. I recommend using forward slashes when specifying the path; it prevents issues with MSYS2. The --disable-libuv and --disable-wav options are required because these libraries are not currently supported on Win64. After configure finishes, execute make; make install. The compilation can take a bit of time, so be patient. Once it completes, you will need to add the bigloo bin and lib directories to the Windows PATH environment variable. This is accomplished by launching the advanced system settings in control panel, clicking the Environment Variables button and adding <target installation directory>\bin and <target installation directory>\lib\bigloo\4.2a to the PATH environment variable. Now, close the MinGW-w64 shell and reopen it. Typing bigloo should now land you in the repl.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.